Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit a8e14a9

Browse files
authored
1.6 compat:dereference deprecated default_sidebars
StandaloneHTMLBuilder.default_sidebars was removed in sphinx ~1.6. sphinx-doc/sphinx@e8e63b1#diff-c17608ed63bfe1714c6befb9d4201fee
1 parent 920edec commit a8e14a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxcontrib/versioning/sphinx_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def builder_inited(app):
5757

5858
# Add versions.html to sidebar.
5959
if '**' not in app.config.html_sidebars:
60-
app.config.html_sidebars['**'] = StandaloneHTMLBuilder.default_sidebars + ['versions.html']
60+
app.config.html_sidebars['**'] = ['versions.html']
6161
elif 'versions.html' not in app.config.html_sidebars['**']:
6262
app.config.html_sidebars['**'].append('versions.html')
6363

0 commit comments

Comments
 (0)