Change doc theme
This commit is contained in:
parent
a6b1d07164
commit
c060d966d3
|
@ -1,7 +1,6 @@
|
|||
alabaster==0.7.12
|
||||
astroid==2.2.5
|
||||
Babel==2.7.0
|
||||
cakephp-theme==1.0.2
|
||||
certifi==2019.3.9
|
||||
chardet==3.0.4
|
||||
doc8==0.8.0
|
||||
|
@ -24,6 +23,7 @@ restructuredtext-lint==1.3.0
|
|||
six==1.12.0
|
||||
snowballstemmer==1.2.1
|
||||
Sphinx==2.0.1
|
||||
sphinx-rtd-theme==0.4.3
|
||||
sphinxcontrib-applehelp==1.0.1
|
||||
sphinxcontrib-devhelp==1.0.1
|
||||
sphinxcontrib-htmlhelp==1.0.2
|
||||
|
|
24
docs/conf.py
24
docs/conf.py
|
@ -51,17 +51,19 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|||
#
|
||||
# html_theme = 'alabaster'
|
||||
|
||||
import cakephp_theme
|
||||
html_theme_path = [cakephp_theme.get_html_theme_path()]
|
||||
html_theme = 'cakephp_theme'
|
||||
extensions.append('cakephp_theme')
|
||||
html_context = {
|
||||
'maintainer': 'Chapin Bryce',
|
||||
'project_pretty_name': 'Python Forensics Handbook',
|
||||
'projects': {
|
||||
'Python Forensics Handbook': 'https://chapinb.github.io/python-forensics-handbook/'
|
||||
}
|
||||
}
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
|
||||
# import cakephp_theme
|
||||
# html_theme_path = [cakephp_theme.get_html_theme_path()]
|
||||
# html_theme = 'cakephp_theme'
|
||||
# extensions.append('cakephp_theme')
|
||||
# html_context = {
|
||||
# 'maintainer': 'Chapin Bryce',
|
||||
# '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,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
|
|
Loading…
Reference in New Issue