From c060d966d3206b42e10171af0d06fc6e6f85c199 Mon Sep 17 00:00:00 2001 From: Chapin Bryce <27cbryce@gmail.com> Date: Sun, 16 Jun 2019 18:24:52 -0400 Subject: [PATCH] Change doc theme --- dev_requirements.txt | 2 +- docs/conf.py | 24 +++++++++++++----------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/dev_requirements.txt b/dev_requirements.txt index b8fc925..1da3ae2 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -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 diff --git a/docs/conf.py b/docs/conf.py index fe1abf0..d148022 100644 --- a/docs/conf.py +++ b/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,