From 46c5a97880e422883f648b501204d54bea868c8d Mon Sep 17 00:00:00 2001 From: JB Mouret Date: Wed, 31 May 2017 20:36:26 +0200 Subject: [PATCH] Fix to make the code work with Sphinx 1.6.1 See https://github.com/Robpol86/sphinxcontrib-versioning/issues/39 --- sphinxcontrib/versioning/sphinx_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinxcontrib/versioning/sphinx_.py b/sphinxcontrib/versioning/sphinx_.py index a90587d4f..e941a86e4 100644 --- a/sphinxcontrib/versioning/sphinx_.py +++ b/sphinxcontrib/versioning/sphinx_.py @@ -57,7 +57,7 @@ def builder_inited(app): # Add versions.html to sidebar. if '**' not in app.config.html_sidebars: - app.config.html_sidebars['**'] = StandaloneHTMLBuilder.default_sidebars + ['versions.html'] + app.config.html_sidebars['**'] = ['versions.html'] elif 'versions.html' not in app.config.html_sidebars['**']: app.config.html_sidebars['**'].append('versions.html')