From e5acfbbb1248c11412b33d4b8e6f4cea98559dcc Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 14 Oct 2024 13:30:02 +0200 Subject: [PATCH] fix: Remove deprecated configuration options Signed-off-by: Ferdinand Thiessen --- conf.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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'