Browse Source

remove DocVersion related

pull/2910/head
chengkang 6 years ago
parent
commit
067c772588
  1. 7
      docs/conf.py

7
docs/conf.py

@ -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',
} }

Loading…
Cancel
Save