How to use the alabaster._version.__version__ function in alabaster

To help you get started, we’ve selected a few alabaster examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github python-bonobo / bonobo / docs / _templates / alabaster / __init__.py View on Github external
def setup(app):
    # add_html_theme is new in Sphinx 1.6+
    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}
github technige / py2neo / book / _themes / alabaster / __init__.py View on Github external
def update_context(app, pagename, templatename, context, doctree):
    context['alabaster_version'] = version.__version__
github nueverest / blowdrycss / docs / custom_themes / alabaster_custom / __init__.py View on Github external
def setup(app):
    app.connect('html-page-context', update_context)
    return {'version': version.__version__,
            'parallel_read_safe': True}
github deanishe / i-sheet-you-not / doc / _themes / alabaster / __init__.py View on Github external
def setup(app):
    # add_html_theme is new in Sphinx 1.6+
    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}
github SpectoLabs / hoverfly-java / docs / source / alabaster / __init__.py View on Github external
def setup(app):
    app.connect('html-page-context', update_context)
    return {'version': version.__version__,
            'parallel_read_safe': True}

alabaster

A light, configurable Sphinx theme

BSD-2-Clause
Latest version published 4 months ago

Package Health Score

88 / 100
Full package analysis