diff --git a/docs/source/conf.py b/docs/source/conf.py index 6356823..cb9fd69 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -25,6 +25,7 @@ from pyhamtools.version import __version__, __release__ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.napoleon', + 'sphinx_rtd_dark_mode', ] # Add any paths that contain templates here, relative to this directory. @@ -95,7 +96,9 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +# html_theme = 'default' +html_theme = 'sphinx_rtd_theme' +# html_theme = 'sphinx_material' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/readthedocs-pip-requirements.txt b/readthedocs-pip-requirements.txt index 8bfee76..3a5e4ea 100644 --- a/readthedocs-pip-requirements.txt +++ b/readthedocs-pip-requirements.txt @@ -1,3 +1,5 @@ sphinx>=1.8.5 sphinxcontrib-napoleon>=0.7 -beautifulsoup4>=4.7.1 \ No newline at end of file +beautifulsoup4>=4.7.1 +sphinx_rtd_theme>=0.5.2 +sphinx_rtd_dark_mode>=0.1.2 \ No newline at end of file