remove DocVersion related

This commit is contained in:
chengkang 2018-09-17 21:05:53 +08:00
parent 3e86fd25e9
commit 067c772588

View file

@ -4,7 +4,7 @@ from __future__ import print_function
import inspect import inspect
import re import re
from pallets_sphinx_themes import DocVersion, ProjectLink, get_version from pallets_sphinx_themes import ProjectLink, get_version
# Project -------------------------------------------------------------- # Project --------------------------------------------------------------
@ -47,11 +47,6 @@ html_context = {
ProjectLink( ProjectLink(
'Issue Tracker', 'https://github.com/pallets/flask/issues/'), '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), 'canonical_url': 'http://flask.pocoo.org/docs/{}/'.format(version),
'carbon_ads_args': 'zoneid=1673&serve=C6AILKT&placement=pocooorg', 'carbon_ads_args': 'zoneid=1673&serve=C6AILKT&placement=pocooorg',
} }