Skip to main content

Sphinx extension to put a GitHub Ribbon to each HTML pages

Project description

sphinxcontrib-github_ribbon is a Sphinx extension to put a GitHub Ribbon to each HTML pages.

Usage

Append this extension in conf.py:

extensions = ['sphinxcontrib.github_ribbon']

And update settings:

github_ribbon_repo

The location of your repository. By default, “sphinx-doc/sphinx”.

github_ribbon_position = (“left” | “right”)

The position of ribbon. By default, “right”.

github_ribbon_color = (“red” | “green” | “darkblue” | “orange” | “gray” | “white”)

The color of ribbont. By default, “red”.

Special Thanks

Members of Sphinx-users.jp!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib-github_ribbon-0.9.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

sphinxcontrib_github_ribbon-0.9.0-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page