Skip to main content

IATI Sphinx Theme

How do I use IATI Sphinx Theme?

See the IATI Sphinx Theme Documentation for usage instructions.

If you are creating or editing an IATI documentation site, see the IATI Docs Base for relevant information.

How do I contribute to IATI Sphinx Theme?

Install dependencies

pip install -r requirements_dev.txt

Update dependencies

python -m piptools compile --extra=dev -o requirements_dev.txt pyproject.toml
pip install -r requirements_dev.txt

Run linting

black iati_sphinx_theme/ docs/
isort iati_sphinx_theme/ docs/
flake8 iati_sphinx_theme/ docs/
mypy iati_sphinx_theme/ docs/

Documentation with live preview

  1. In one terminal, build the CSS in watch mode

    npm run build:watch
    
  2. In a separate terminal, install the Sphinx theme then start the docs development server:

    pip install -e .
    sphinx-autobuild -a docs docs/_build/html --watch iati_sphinx_theme/
    

Testing a local version of the theme against another project

To run a local version of the theme with another project, e.g. my-docs, take the following steps:

  1. Clone the sphinx-theme repository, and checkout the branch or tag you want to use.

  2. Run the following command in the sphinx-theme directory, to build the CSS for the theme.

    npm run build
    
  3. Go to my-docs directory, and install the Sphinx theme

    pip install -e /path/to/sphinx-theme
    
  4. Set the html_theme option in your conf.py

    html_theme = "iati_sphinx_theme"
    
  5. Start the docs development server:

    pip install sphinx-autobuild
    sphinx-autobuild docs docs/_build/html
    

Translation

The Sphinx theme itself contains both built-in strings that cannot be changed and strings that can be configured by the user via conf.py. To translate these, see the sphinx-theme documentation

For instructions on translating an IATI documentation site that uses this theme, see the iati-docs-base.

Release process

To publish a new version, raise a PR to main, updating the version in pyproject.toml. Once merged, create a git tag and GitHub release for the new version, with naming vX.Y.Z. This will trigger the package to be published to PyPI.

Metadata

Release files for iati-sphinx-theme 3.2.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 iati-sphinx-theme 3.2.0
File Size Uploaded
iati_sphinx_theme-3.2.0.tar.gz 347.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iati-sphinx-theme 3.2.0
File Interpreter ABI Platform
iati_sphinx_theme-3.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 707.3 kB

Release files / iati_sphinx_theme-3.2.0.tar.gz

Download URL iati_sphinx_theme-3.2.0.tar.gz
Size 347.3 kB
Tags Source
SHA-256 checksum
How to use checksums
712c4cefd1ebcfb6df97e2b66dcd2195fdda22ca1e6f2e23582689da1198a1f9
BLAKE2b-256 checksum
How to use checksums
017f7c1ed5ba7c34358cf782177cb10f13fadabfce5c57b75aa1405cfea7c324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 4, 2026.

Transparency log

Release files / iati_sphinx_theme-3.2.0-py2.py3-none-any.whl

Download URL iati_sphinx_theme-3.2.0-py2.py3-none-any.whl
Size 360.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b4c8b59880b66cba59b653d3cc32900dbadd9c302cad9c80d38bba5e1f10e0fb
BLAKE2b-256 checksum
How to use checksums
5204e1d21be17a03d888f57302b053546ba8e64684502731f30273246157785d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.2.0 This release

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

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