From 28af07802669af757e7feded1e235b7ae659a505 Mon Sep 17 00:00:00 2001 From: vasiliev Date: Wed, 8 May 2024 17:21:03 +0300 Subject: [PATCH] Backup to old version of sphinx_rtd_theme --- docs/conf.py | 13 +++---------- requirements/docs-requirements.txt | 3 +-- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 1daf2c6..1facdf9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,8 +19,8 @@ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.autosummary", - "sphinx.ext.githubpages", - "sphinxcontrib.jquery", + # "sphinx.ext.githubpages", + # "sphinxcontrib.jquery", "sphinx_gallery.gen_gallery", "sphinx_rtd_theme", ] @@ -34,16 +34,9 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = "sphinx_rtd_theme" # 'alabaster' -# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] html_static_path = ['_static'] -html_context = { - 'display_github': False, # Add 'Edit on Github' link instead of 'View page source' - 'last_updated': True, - 'commit': False, - 'css_files': ['_static/css/theme.css',], -} - sphinx_gallery_conf = { "doc_module": "survivors", "show_memory": False, diff --git a/requirements/docs-requirements.txt b/requirements/docs-requirements.txt index 4fc79d4..65beae5 100644 --- a/requirements/docs-requirements.txt +++ b/requirements/docs-requirements.txt @@ -1,4 +1,3 @@ sphinx>=7.2.0 sphinx_gallery -sphinx_rtd_theme -sphinxcontrib-jquery \ No newline at end of file +sphinx_rtd_theme \ No newline at end of file