|
|
@ -15,11 +15,12 @@ |
|
|
|
import sys |
|
|
|
import sys |
|
|
|
import os |
|
|
|
import os |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import sphinx_readable_theme |
|
|
|
|
|
|
|
|
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
|
|
|
# add these directories to sys.path here. If the directory is relative to the |
|
|
|
# add these directories to sys.path here. If the directory is relative to the |
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here. |
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here. |
|
|
|
sys.path.insert(0, os.path.abspath('..')) |
|
|
|
sys.path.insert(0, os.path.abspath('..')) |
|
|
|
sys.path.append(os.path.abspath('_themes/flask-sphinx-themes')) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# -- General configuration ------------------------------------------------ |
|
|
|
# -- General configuration ------------------------------------------------ |
|
|
|
|
|
|
|
|
|
|
@ -105,7 +106,7 @@ pygments_style = 'sphinx' |
|
|
|
# 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 = 'default' |
|
|
|
#html_theme = 'default' |
|
|
|
html_theme = 'flask' |
|
|
|
html_theme = 'readable' |
|
|
|
|
|
|
|
|
|
|
|
# Theme options are theme-specific and customize the look and feel of a theme |
|
|
|
# Theme options are theme-specific and customize the look and feel of a theme |
|
|
|
# further. For a list of options available for each theme, see the |
|
|
|
# further. For a list of options available for each theme, see the |
|
|
@ -113,7 +114,7 @@ html_theme = 'flask' |
|
|
|
#html_theme_options = {} |
|
|
|
#html_theme_options = {} |
|
|
|
|
|
|
|
|
|
|
|
# Add any paths that contain custom themes here, relative to this directory. |
|
|
|
# Add any paths that contain custom themes here, relative to this directory. |
|
|
|
html_theme_path = ['_themes/flask-sphinx-themes/'] |
|
|
|
html_theme_path = [sphinx_readable_theme.get_html_theme_path()] |
|
|
|
|
|
|
|
|
|
|
|
# The name for this set of Sphinx documents. If None, it defaults to |
|
|
|
# The name for this set of Sphinx documents. If None, it defaults to |
|
|
|
# "<project> v<release> documentation". |
|
|
|
# "<project> v<release> documentation". |
|
|
|