diff --git a/dev_requirements.txt b/dev_requirements.txt index d5f8669..b8fc925 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,6 +1,7 @@ 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 diff --git a/docs/conf.py b/docs/conf.py index 8cd6591..fe1abf0 100644 --- a/docs/conf.py +++ b/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 # 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, # relative to this directory. They are copied after the builtin static files,