mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
docs: RTD theme upgraded
This commit is contained in:
@@ -43,8 +43,6 @@ set(unitsSphinxDocs
|
|||||||
"${CMAKE_CURRENT_SOURCE_DIR}/_static/img/downcast_2.png"
|
"${CMAKE_CURRENT_SOURCE_DIR}/_static/img/downcast_2.png"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/_static/img/units.png"
|
"${CMAKE_CURRENT_SOURCE_DIR}/_static/img/units.png"
|
||||||
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/_themes/sphinx_rtd_theme.zip"
|
|
||||||
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md"
|
"${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md"
|
||||||
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/design.rst"
|
"${CMAKE_CURRENT_SOURCE_DIR}/design.rst"
|
||||||
|
BIN
docs/_themes/sphinx_rtd_theme.zip
vendored
BIN
docs/_themes/sphinx_rtd_theme.zip
vendored
Binary file not shown.
@@ -10,6 +10,7 @@
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
import sphinx_rtd_theme
|
||||||
|
|
||||||
from pygments.lexer import RegexLexer, include, bygroups, using, \
|
from pygments.lexer import RegexLexer, include, bygroups, using, \
|
||||||
this, inherit, default, words
|
this, inherit, default, words
|
||||||
@@ -272,6 +273,7 @@ extensions = [
|
|||||||
'sphinx.ext.autosectionlabel',
|
'sphinx.ext.autosectionlabel',
|
||||||
'sphinx.ext.githubpages',
|
'sphinx.ext.githubpages',
|
||||||
'sphinx.ext.graphviz',
|
'sphinx.ext.graphviz',
|
||||||
|
'sphinx_rtd_theme',
|
||||||
'recommonmark',
|
'recommonmark',
|
||||||
'breathe'
|
'breathe'
|
||||||
]
|
]
|
||||||
@@ -323,11 +325,6 @@ cpp_index_common_prefix = ['units::']
|
|||||||
|
|
||||||
# -- Options for HTML output -------------------------------------------------
|
# -- Options for HTML output -------------------------------------------------
|
||||||
|
|
||||||
# A list of paths that contain custom themes, either as subdirectories or as
|
|
||||||
# zip files. Relative paths are taken as relative to the configuration directory.
|
|
||||||
|
|
||||||
html_theme_path = ["_themes", ]
|
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
html_theme = 'sphinx_rtd_theme'
|
html_theme = 'sphinx_rtd_theme'
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
sphinx>=2.4.4
|
sphinx>=2.4.4
|
||||||
|
sphinx_rtd_theme
|
||||||
recommonmark
|
recommonmark
|
||||||
breathe>=4.14.1
|
breathe>=4.14.1
|
||||||
|
Reference in New Issue
Block a user