Change doc theme
This commit is contained in:
parent
89bf6cbda6
commit
a6b1d07164
|
|
@ -1,6 +1,7 @@
|
||||||
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
|
||||||
|
|
|
||||||
14
docs/conf.py
14
docs/conf.py
|
|
@ -49,7 +49,19 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
||||||
# 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 = 'alabaster'
|
# 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/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# 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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue