Merge pull request #2910 from garenchan/docs

fix issue: no theme named 'flask' found
This commit is contained in:
David Lord 2018-09-17 06:39:45 -07:00 committed by GitHub
commit d493e3e083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 --------------------------------------------------------------
@ -21,6 +21,7 @@ extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.autodoc',
'sphinx.ext.intersphinx', 'sphinx.ext.intersphinx',
'sphinxcontrib.log_cabinet', 'sphinxcontrib.log_cabinet',
'pallets_sphinx_themes',
] ]
intersphinx_mapping = { intersphinx_mapping = {
@ -46,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',
} }