alabaster-0.7.12/ 0000755 0000765 0000024 00000000000 13355016700 014465 5 ustar jforcier staff 0000000 0000000 alabaster-0.7.12/alabaster/ 0000755 0000765 0000024 00000000000 13355016700 016423 5 ustar jforcier staff 0000000 0000000 alabaster-0.7.12/alabaster/__init__.py 0000644 0000765 0000024 00000001345 13312106024 020527 0 ustar jforcier staff 0000000 0000000 import os from alabaster import _version as version def get_path(): """ Shortcut for users whose theme is next to their conf.py. """ # Theme directory is defined as our parent directory return os.path.abspath(os.path.dirname(os.path.dirname(__file__))) def update_context(app, pagename, templatename, context, doctree): context["alabaster_version"] = version.__version__ 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} alabaster-0.7.12/alabaster/_version.py 0000644 0000765 0000024 00000000121 13355016624 020620 0 ustar jforcier staff 0000000 0000000 __version_info__ = (0, 7, 12) __version__ = ".".join(map(str, __version_info__)) alabaster-0.7.12/alabaster/about.html 0000644 0000765 0000024 00000003531 13355011147 020425 0 ustar jforcier staff 0000000 0000000 {% if theme_logo %}
{% if theme_logo_name|lower == 'true' %}
{{ project }}
{% endif %}
{{ theme_description }}
{% endif %} {% if theme_github_user and theme_github_repo %} {% if theme_github_button|lower == 'true' %}{% endif %} {% endif %} {% if theme_travis_button|lower != 'false' %} {% if theme_travis_button|lower == 'true' %} {% set path = theme_github_user + '/' + theme_github_repo %} {% else %} {% set path = theme_travis_button %} {% endif %} {% endif %} {% if theme_codecov_button|lower != 'false' %} {% if theme_codecov_button|lower == 'true' %} {% set path = theme_github_user + '/' + theme_github_repo %} {% else %} {% set path = theme_codecov_button %} {% endif %} {% endif %} alabaster-0.7.12/alabaster/donate.html 0000644 0000765 0000024 00000001542 13355016341 020566 0 ustar jforcier staff 0000000 0000000 {# TODO: wrap all these in their own divs for easier styling #} {% if theme_donate_url or theme_opencollective or theme_tidelift_url %}
Professionally-supported {{ project }} is available with the Tidelift Subscription.
{% endif %} alabaster-0.7.12/alabaster/layout.html 0000644 0000765 0000024 00000010275 13277700757 020652 0 ustar jforcier staff 0000000 0000000 {%- extends "basic/layout.html" %} {%- block extrahead %} {{ super() }} {% if theme_touch_icon %} {% endif %} {% if theme_canonical_url %} {% endif %} {% endblock %} {# top+bottom related navs; we also have our own in sidebar #} {%- macro rellink_markup() %} {%- endmacro %} {%- set theme_show_relbar_top = theme_show_relbar_top or theme_show_relbars %} {%- set theme_show_relbar_bottom = theme_show_relbar_bottom or theme_show_relbars %} {# removed existing top+bottom related nav, and embed in main content #} {%- block relbar1 %}{% endblock %} {%- block relbar2 %}{% endblock %} {# Nav should appear before content, not after #} {%- block content %} {%- if theme_fixed_sidebar|lower == 'true' %}