Skip to main content
Amunra-Sphinx-Theme preview

Summary

Amunra provides a lightweight, easy-to-use, responsive theme for Sphinx based on Bootstrap 4. It features a minimalist top navigation bar which can be configured manually or using Sphinx’s standard toctree directive.

Demo

See the theme in action here:

Installation

  1. Install the theme:

    pip install amunra-sphinx-theme
  2. Configure it in your Sphinx’s conf.py configuration file as follows:

    html_theme = "amunra_sphinx_theme"
  3. 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"
    }
  4. Optional: create a nice splash page for your project by including the following code in your index.rst file:

    .. title:: Your-Project-Title
    
    .. container:: lead
    
        Your-Project-Title
    
        A short description of your project.
    
        .. raw:: html
    
            <a href="quickstart.html" class="btn btn-primary">Quickstart →</a>

Release files for amunra-sphinx-theme 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amunra-sphinx-theme 0.2
File Size Uploaded
amunra_sphinx_theme-0.2.tar.gz 92.9 kB Details

Release files / amunra_sphinx_theme-0.2.tar.gz

Download URL amunra_sphinx_theme-0.2.tar.gz
Size 92.9 kB
Tags Source
SHA-256 checksum
How to use checksums
79d687577c78aefaff8e8a902f3674acf7a58337f9aab3ee77e30b11a0c2ddd0
BLAKE2b-256 checksum
How to use checksums
0f032e548766e61310f5ecfb6c632e567547d39582f02cba8c3c8f4921ddd60a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page