|
|
|
@ -15,12 +15,15 @@ |
|
|
|
|
|
|
|
|
|
import sys |
|
|
|
|
import os |
|
|
|
|
import cdist.version |
|
|
|
|
import sphinx_rtd_theme |
|
|
|
|
|
|
|
|
|
# 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 |
|
|
|
|
# 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(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../"))) |
|
|
|
|
sys.path.insert(0, os.path.abspath(os.path.join( |
|
|
|
|
os.path.dirname(os.path.realpath(__file__)), "../../"))) |
|
|
|
|
|
|
|
|
|
# -- General configuration ------------------------------------------------ |
|
|
|
|
|
|
|
|
@ -58,7 +61,6 @@ project = 'cdist' |
|
|
|
|
# built documents. |
|
|
|
|
# |
|
|
|
|
# The short X.Y version. |
|
|
|
|
import cdist.version |
|
|
|
|
version = cdist.version.VERSION |
|
|
|
|
# The full version, including alpha/beta/rc tags. |
|
|
|
|
release = version |
|
|
|
@ -113,7 +115,6 @@ todo_include_todos = False |
|
|
|
|
|
|
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for |
|
|
|
|
# a list of builtin themes. |
|
|
|
|
import sphinx_rtd_theme |
|
|
|
|
html_theme = 'sphinx_rtd_theme' |
|
|
|
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
|
|
|
|
|
|
|
|
@ -137,7 +138,8 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
|
|
|
|
# html_logo = None |
|
|
|
|
|
|
|
|
|
# The name of an image file (relative to this directory) to use as a favicon of |
|
|
|
|
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
|
|
|
|
# the docs. This file should be a Windows icon file (.ico) |
|
|
|
|
# being 16x16 or 32x32 |
|
|
|
|
# pixels large. |
|
|
|
|
# html_favicon = None |
|
|
|
|
|
|
|
|
@ -214,7 +216,7 @@ htmlhelp_basename = 'cdistdoc' |
|
|
|
|
|
|
|
|
|
# -- Options for LaTeX output --------------------------------------------- |
|
|
|
|
|
|
|
|
|
latex_elements = { |
|
|
|
|
# latex_elements = { |
|
|
|
|
# The paper size ('letterpaper' or 'a4paper'). |
|
|
|
|
# 'papersize': 'letterpaper', |
|
|
|
|
|
|
|
|
@ -226,7 +228,7 @@ latex_elements = { |
|
|
|
|
|
|
|
|
|
# Latex figure (float) alignment |
|
|
|
|
# 'figure_align': 'htbp', |
|
|
|
|
} |
|
|
|
|
# } |
|
|
|
|
|
|
|
|
|
# Grouping the document tree into LaTeX files. List of tuples |
|
|
|
|
# (source start file, target name, title, |
|
|
|
|