Skip to content

Commit e5acfbb

Browse files
committed
fix: Remove deprecated configuration options
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent d13b0fb commit e5acfbb

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

conf.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
# RTD theme options
2626
html_theme_options = {
27-
'logo_only': True,
28-
'style_external_links': True,
29-
'display_version': False,
27+
'logo_only': True,
28+
'style_external_links': True,
29+
'version_selector': False,
3030
}
3131

3232
# relative path to subdirectories
@@ -58,7 +58,6 @@ def generateVersionsDocs(current_docs):
5858
html_context = {
5959
'current_version': version,
6060
'READTHEDOCS': True,
61-
'extra_css_files': ['_static/custom.css'],
6261

6362
# force github plugin
6463
'display_github': True,
@@ -68,6 +67,12 @@ def generateVersionsDocs(current_docs):
6867
'theme_vcs_pageview_mode': 'edit/%s/' % github_branch, # to be completed by each individual conf.py
6968
}
7069

70+
html_static_path = ['_static']
71+
# Extra CSS relative to html_static_path
72+
html_css_files = [
73+
'custom.css'
74+
]
75+
7176
edit_on_github_project = 'nextcloud/documentation'
7277
edit_on_github_branch = 'master'
7378

0 commit comments

Comments
 (0)