Skip to content

Commit

Permalink
Backup to old version of sphinx_rtd_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
iuliivasilev committed May 8, 2024
1 parent 5c46b32 commit 28af078
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
13 changes: 3 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand All @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions requirements/docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sphinx>=7.2.0
sphinx_gallery
sphinx_rtd_theme
sphinxcontrib-jquery
sphinx_rtd_theme

0 comments on commit 28af078

Please sign in to comment.