A beautiful, minimalist, and responsive theme for your Sphinx projects.
Project description
A minimalist theme for Sphinx based on Bootstrap.
Summary
Amunra provides a lightweight, easy-to-use, and responsive theme for Sphinx based on Bootstrap. It features a minimalist top navigation bar which can be configured manually. By default, the bar will show the top-level entries of Sphinx’s toctree directive.
Demo
See it in action at docs.lightkurve.org, and inspect that website’s source code at github.com/KeplerGO/lightkurve/tree/master/docs.
Installation
Install the theme:
pip install amunra-sphinx-theme
Configure it in your Sphinx’s conf.py configuration file as follows:
html_theme = "amunra_sphinx_theme"
Configure the theme options by adding the following snippet in your conf.py file:
html_theme_options = { # Title shown in the top left. (Default: ``project`` value.) "navbar_title": "Amunra", # Links to shown in the top bar. (Default: top-level ``toctree`` entries.) "navbar_links": [ ("Quickstart", "quickstart"), ("Tutorials", "tutorials/index"), ("API", "api/index"), ("About", "about/index"), ], # If ``github_link`` is set, a GitHub icon will be shown in the top right. "github_link": "https://github.com/barentsen/amunra-sphinx-theme", # Text to show in the footer of every page. "footer_text": "Created with ♥ by Geert Barentsen.", # Google Analytics ID. (Optional.) "analytics_id": "UA-XXXXX-X" }
Optional: create a nice splash page for your project by including the following code in your index.rst file:
.. container:: lead Your-Project-Title A short description of your project. .. raw:: html <a href="quickstart.html" class="btn btn-primary">Quickstart →</a> ----------
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file amunra_sphinx_theme-0.1.tar.gz
.
File metadata
- Download URL: amunra_sphinx_theme-0.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 815abc7cad30cfba77e86728c3912b3b30d747f7deeabcdda80e83a1825ea443 |
|
MD5 | 76c6bb912c15a008ee1d72285aef00bf |
|
BLAKE2b-256 | 5b00a90d3802c63d0ee48ae455646f074a17f2e060d0e00ff2a2333dacdcc31a |