Skip to main content

dsgovbr-sphinx-theme

Projeto comunitário, independente e não oficial. Não representa nem implica homologação ou endosso pelo GOV.BR DS ou pelo Governo Federal.

Tema Sphinx com visual inspirado no Padrão Digital de Governo (GOV.BR DS): fonte Rawline, tokens de cor do GOV.BR DS, cabeçalho, menu lateral, breadcrumb, avisos (message), tabelas e rodapé no estilo dos componentes do design system, modo escuro e layout responsivo.

Inclui a extensão opcional dsgovbr_sphinx_theme.componentes, com diretivas e roles reST (.. br-alerta::, .. br-card::, .. br-acordeao::, :br-badge:...) para usar nos seus .rst os componentes do dsgovbr-bootstraped.

Documentação: https://abrasileirado.github.io/dsgovbr-sphinx-theme/

Uso rápido

pip install dsgovbr-sphinx-theme
# docs/conf.py
html_theme = "dsgovbr_sphinx_theme"
extensions = [
    "sphinx.ext.githubpages",
    "dsgovbr_sphinx_theme.componentes",  # opcional: diretivas br-*
]
html_theme_options = {
    "github_url": "https://github.com/org/repo",
    "navigation_links": "PyPI|https://pypi.org/project/x/",
}
.. br-alerta:: warning
   :titulo: Atenção

   Revise os dados antes de continuar.

.. br-abas::

   .. br-aba:: pip

      ``pip install pacote``

   .. br-aba:: uv

      ``uv add pacote``

Opções do tema e a lista completa de componentes estão na documentação.

Desenvolvimento

uv venv && uv pip install -e ".[dev]"
uv run pytest
uv run ruff check .
uv run sphinx-build -W -b html docs docs/_build/html

Licença

MIT. Fontes e assets de terceiros: ver THIRD_PARTY_NOTICES.md.

Metadata

Release files for dsgovbr-sphinx-theme 0.1.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 dsgovbr-sphinx-theme 0.1.0
File Size Uploaded Provenance Actions
dsgovbr_sphinx_theme-0.1.0.tar.gz 760.4 kB With provenance Details for dsgovbr_sphinx_theme-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dsgovbr-sphinx-theme 0.1.0
File Interpreter ABI Platform Actions
dsgovbr_sphinx_theme-0.1.0-py3-none-any.whl Python 3 none any Details for dsgovbr_sphinx_theme-0.1.0-py3-none-any.whl

Total release size: 1.5 MB

Release files / dsgovbr_sphinx_theme-0.1.0.tar.gz

Download URL dsgovbr_sphinx_theme-0.1.0.tar.gz
Size 760.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1300a26a84776268656e76e51bf4094a69c42441de7c0382bb05262fe0d703cb
BLAKE2b-256 checksum
How to use checksums
384e19b8136b37cb76d2e21c464997cde1f550102b18dc339c37a8f57afc65cc
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 Nov 6, 2026.

Transparency log

Release files / dsgovbr_sphinx_theme-0.1.0-py3-none-any.whl

Download URL dsgovbr_sphinx_theme-0.1.0-py3-none-any.whl
Size 762.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb221eef678e6abf524a67bba05f81e4fbf81dd76389ba13a8ed1441c21e9a8a
BLAKE2b-256 checksum
How to use checksums
fe329ccaf0aa10e4dc948647d99fc1534540b9055ff8e644b034fac9b2f99f6c
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 Nov 6, 2026.

Transparency log

Security for dsgovbr-sphinx-theme 0.1.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 dsgovbr_sphinx_theme-0.1.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 Nov 6, 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