Change default theme to 'alabaster'
Add docs-api/docs-requirements.txt update .gitignore for docs-api/ tmp files.pull/4420/head
parent
e8d3b4b1ee
commit
0b19fd51d3
|
@ -40,6 +40,8 @@ docsite/_static/*.png
|
||||||
docsite/_static/websupport.js
|
docsite/_static/websupport.js
|
||||||
docsite/searchindex.js
|
docsite/searchindex.js
|
||||||
docsite/htmlout
|
docsite/htmlout
|
||||||
|
docs-api/rst/
|
||||||
|
docs-api/_build/
|
||||||
# deb building stuff...
|
# deb building stuff...
|
||||||
debian/
|
debian/
|
||||||
deb-build
|
deb-build
|
||||||
|
|
|
@ -21,6 +21,7 @@ import os
|
||||||
#sys.path.insert(0, os.path.abspath('../bin'))
|
#sys.path.insert(0, os.path.abspath('../bin'))
|
||||||
sys.path.insert(0, os.path.abspath('../lib/ansible'))
|
sys.path.insert(0, os.path.abspath('../lib/ansible'))
|
||||||
import sphinx_rtd_theme
|
import sphinx_rtd_theme
|
||||||
|
import alabaster
|
||||||
|
|
||||||
# -- General configuration ------------------------------------------------
|
# -- General configuration ------------------------------------------------
|
||||||
|
|
||||||
|
@ -36,12 +37,13 @@ extensions = [
|
||||||
'sphinx.ext.todo',
|
'sphinx.ext.todo',
|
||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
'sphinx.ext.graphviz',
|
'sphinx.ext.graphviz',
|
||||||
'sphinx.ext.inheritance_diagram'
|
'sphinx.ext.inheritance_diagram',
|
||||||
|
'alabaster',
|
||||||
]
|
]
|
||||||
|
|
||||||
#autodoc_default_flags = ['members', 'show-inheritance', 'inherited-members', 'undoc-members',]
|
#autodoc_default_flags = ['members', 'show-inheritance', 'inherited-members', 'undoc-members',]
|
||||||
autodoc_default_flags = ['members', 'show-inheritance', 'undoc-members',]
|
autodoc_default_flags = ['members', 'show-inheritance', 'undoc-members',]
|
||||||
autoclass_content = ['both']
|
autoclass_content = 'both'
|
||||||
autodoc_member_order = 'bysource'
|
autodoc_member_order = 'bysource'
|
||||||
autodoc_mock_imports = ['xmltodict', 'winrm', 'redis', 'StricRedis']
|
autodoc_mock_imports = ['xmltodict', 'winrm', 'redis', 'StricRedis']
|
||||||
|
|
||||||
|
@ -127,8 +129,12 @@ todo_include_todos = True
|
||||||
#html_theme = 'srtd'
|
#html_theme = 'srtd'
|
||||||
html_short_title = 'Ansible Documentation'
|
html_short_title = 'Ansible Documentation'
|
||||||
|
|
||||||
html_theme = "sphinx_rtd_theme"
|
#html_theme = "sphinx_rtd_theme"
|
||||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
#html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||||
|
|
||||||
|
html_theme_path = [alabaster.get_path()]
|
||||||
|
html_theme = 'alabaster'
|
||||||
|
|
||||||
# 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
|
||||||
# documentation.
|
# documentation.
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
sphinx
|
||||||
|
|
||||||
|
# extensions
|
||||||
|
sphinxcontrib-napoleon
|
||||||
|
sphinxcontrib-inheritance
|
||||||
|
|
||||||
|
sphinx-rtd-theme
|
||||||
|
alabaster
|
Loading…
Reference in New Issue