Enforcing quote format with black in develop.
This commit is contained in:
10
docs/_templates/alabaster/__init__.py
vendored
10
docs/_templates/alabaster/__init__.py
vendored
@ -12,13 +12,13 @@ def get_path():
|
||||
|
||||
|
||||
def update_context(app, pagename, templatename, context, doctree):
|
||||
context['alabaster_version'] = version.__version__
|
||||
context["alabaster_version"] = version.__version__
|
||||
|
||||
|
||||
def setup(app):
|
||||
# add_html_theme is new in Sphinx 1.6+
|
||||
if hasattr(app, 'add_html_theme'):
|
||||
if hasattr(app, "add_html_theme"):
|
||||
theme_path = os.path.abspath(os.path.dirname(__file__))
|
||||
app.add_html_theme('alabaster', theme_path)
|
||||
app.connect('html-page-context', update_context)
|
||||
return {'version': version.__version__, 'parallel_read_safe': True}
|
||||
app.add_html_theme("alabaster", theme_path)
|
||||
app.connect("html-page-context", update_context)
|
||||
return {"version": version.__version__, "parallel_read_safe": True}
|
||||
|
||||
2
docs/_templates/alabaster/_version.py
vendored
2
docs/_templates/alabaster/_version.py
vendored
@ -1,2 +1,2 @@
|
||||
__version_info__ = (0, 7, 10)
|
||||
__version__ = '.'.join(map(str, __version_info__))
|
||||
__version__ = ".".join(map(str, __version_info__))
|
||||
|
||||
Reference in New Issue
Block a user