Skip to main content

sphinx-mekki

A Sphinx extension to embed images, download files, CSSs, and JSs into a single HTML file.

Installation

You are able to install sphinx-mekki with pip.

pip install sphinx-mekki

Usage

You must add sphinx_mekki to your extensions list in your conf.py.

extensions = [... , "sphinx_mekki", ...]

You are optionally able to change the html_theme to mekki in the conf.py to generate simple HTML files with minimal dependency on other pages. (Hopefully, this extension should work with any HTML theme that complies with Sphinx.)

html_theme = "mekki"

Since version 0.10.0, the mekki theme is provided by the separate mekki package, which is installed automatically as a dependency of sphinx-mekki. The theme can also be used on its own without this extension.

Sidebar

Each page is meant to be used on its own, without links to the other pages. So, since version 0.10.0, the sidebar holds only the table of contents of the page itself, and it is shown on every page, even on a page with only its title. The global table of contents, the previous/next links, the source link and the search box are not shown.

This is done by setting html_sidebars to:

html_sidebars = {"**": ["mekki_localtoc.html"]}

mekki_localtoc.html comes with sphinx-mekki. It is Sphinx’s localtoc.html without the “Table of Contents” heading, which links to the root document. If your conf.py sets html_sidebars, that is used instead.

With the mekki theme, only the logo is shown at the top of the sidebar, without the project title, and it links to the top of the page. This is done by setting these theme options, unless your html_theme_options sets them:

html_theme_options = {"logo_link": "top", "show_sidebar_title": "false"}

With other themes, the logo and the title are left as the theme shows them, and still link to the root document.

Enjoy writing docs!

Metadata

Release files for sphinx-mekki 0.10.0

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

Source distribution (sdist)

Source distribution for sphinx-mekki 0.10.0
File Size Uploaded Provenance Actions
sphinx_mekki-0.10.0.tar.gz 9.1 kB With provenance Details for sphinx_mekki-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-mekki 0.10.0
File Interpreter ABI Platform Actions
sphinx_mekki-0.10.0-py3-none-any.whl Python 3 none any Details for sphinx_mekki-0.10.0-py3-none-any.whl

Total release size: 19.6 kB

Release files / sphinx_mekki-0.10.0.tar.gz

Download URL sphinx_mekki-0.10.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ca2ac3ff7a0afbd7107006a7db3e7760d98b157c40756d94c422de9883e8b10
BLAKE2b-256 checksum
How to use checksums
8e677f7cc73e4f02d164503a55e9d33feb01168d338cde12dca636a1065b0abc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / sphinx_mekki-0.10.0-py3-none-any.whl

Download URL sphinx_mekki-0.10.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d93837fd9ddd46f36b375d382ad25f69f15d7f6e81dd92507e046f853fadec21
BLAKE2b-256 checksum
How to use checksums
9dff1ede379b3e03e389f452376c9e41a85d4662fb47166b73fb6efa8a2bae99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for sphinx-mekki 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sphinx_mekki-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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