Change doc theme

This commit is contained in:
Chapin Bryce 2019-06-16 18:24:52 -04:00
parent a6b1d07164
commit c060d966d3
2 changed files with 14 additions and 12 deletions

View File

@ -1,7 +1,6 @@
alabaster==0.7.12 alabaster==0.7.12
astroid==2.2.5 astroid==2.2.5
Babel==2.7.0 Babel==2.7.0
cakephp-theme==1.0.2
certifi==2019.3.9 certifi==2019.3.9
chardet==3.0.4 chardet==3.0.4
doc8==0.8.0 doc8==0.8.0
@ -24,6 +23,7 @@ restructuredtext-lint==1.3.0
six==1.12.0 six==1.12.0
snowballstemmer==1.2.1 snowballstemmer==1.2.1
Sphinx==2.0.1 Sphinx==2.0.1
sphinx-rtd-theme==0.4.3
sphinxcontrib-applehelp==1.0.1 sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1 sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2 sphinxcontrib-htmlhelp==1.0.2

View File

@ -51,17 +51,19 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# #
# html_theme = 'alabaster' # html_theme = 'alabaster'
import cakephp_theme html_theme = 'sphinx_rtd_theme'
html_theme_path = [cakephp_theme.get_html_theme_path()]
html_theme = 'cakephp_theme' # import cakephp_theme
extensions.append('cakephp_theme') # html_theme_path = [cakephp_theme.get_html_theme_path()]
html_context = { # html_theme = 'cakephp_theme'
'maintainer': 'Chapin Bryce', # extensions.append('cakephp_theme')
'project_pretty_name': 'Python Forensics Handbook', # html_context = {
'projects': { # 'maintainer': 'Chapin Bryce',
'Python Forensics Handbook': 'https://chapinb.github.io/python-forensics-handbook/' # 'project_pretty_name': 'Python Forensics Handbook',
} # 'projects': {
} # 'Python Forensics Handbook': 'https://chapinb.github.io/python-forensics-handbook/'
# }
# }
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,