Browse Source

Merge pull request #2910 from garenchan/docs

fix issue: no theme named 'flask' found
pull/2912/head
David Lord 6 years ago committed by GitHub
parent
commit
d493e3e083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docs/conf.py

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

Loading…
Cancel
Save