diff --git a/docs/conf.py b/docs/conf.py index 04172441..f1c4c2b8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -4,7 +4,7 @@ from __future__ import print_function import inspect import re -from pallets_sphinx_themes import DocVersion, ProjectLink, get_version +from pallets_sphinx_themes import ProjectLink, get_version # Project -------------------------------------------------------------- @@ -21,6 +21,7 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinxcontrib.log_cabinet', + 'pallets_sphinx_themes', ] intersphinx_mapping = { @@ -46,11 +47,6 @@ html_context = { ProjectLink( 'Issue Tracker', 'https://github.com/pallets/flask/issues/'), ], - 'versions': [ - DocVersion('dev', 'Development', 'unstable'), - DocVersion('1.0', 'Flask 1.0', 'stable'), - DocVersion('0.12', 'Flask 0.12'), - ], 'canonical_url': 'http://flask.pocoo.org/docs/{}/'.format(version), 'carbon_ads_args': 'zoneid=1673&serve=C6AILKT&placement=pocooorg', }