diff --git a/conf.py b/conf.py index 0626c98de..af7525bed 100644 --- a/conf.py +++ b/conf.py @@ -24,9 +24,9 @@ release = version # RTD theme options html_theme_options = { - 'logo_only': True, - 'style_external_links': True, - 'display_version': False, + 'logo_only': True, + 'style_external_links': True, + 'version_selector': False, } # relative path to subdirectories @@ -58,7 +58,6 @@ else: html_context = { 'current_version': version, 'READTHEDOCS': True, - 'extra_css_files': ['_static/custom.css'], # force github plugin 'display_github': True, @@ -68,6 +67,12 @@ html_context = { 'theme_vcs_pageview_mode': 'edit/%s/' % github_branch, # to be completed by each individual conf.py } +html_static_path = ['_static'] +# Extra CSS relative to html_static_path +html_css_files = [ + 'custom.css' +] + edit_on_github_project = 'nextcloud/documentation' edit_on_github_branch = 'master' diff --git a/requirements.txt b/requirements.txt index 0c147bdf6..03b617010 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,9 +17,9 @@ requests==2.32.3 rst2pdf==0.102 smartypants==2.0.1 snowballstemmer==2.2.0 -Sphinx==7.4.7 +Sphinx==8.1.3 sphinx-copybutton==0.5.2 -sphinx-rtd-theme==2.0.0 +sphinx-rtd-theme==3.0.1 sphinx-rtd-dark-mode==1.3.0 sphinxcontrib-applehelp==2.0.0 sphinxcontrib-devhelp==2.0.0