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-bootstrapped.

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 3.7.0.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 3.7.0.0
File Size Uploaded Provenance Actions
dsgovbr_sphinx_theme-3.7.0.0.tar.gz 761.0 kB With provenance Details for dsgovbr_sphinx_theme-3.7.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / dsgovbr_sphinx_theme-3.7.0.0.tar.gz

Download URL dsgovbr_sphinx_theme-3.7.0.0.tar.gz
Size 761.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e6f9bd47276ce46ec4b6dda5e6744f4ab292f000d53ca84a3660a06cedfc186c
BLAKE2b-256 checksum
How to use checksums
775d5beda24be39637edac1e16b94ea531ca8d245bcd5508399bd29385d46e74
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 12, 2026.

Transparency log

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

Download URL dsgovbr_sphinx_theme-3.7.0.0-py3-none-any.whl
Size 762.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
262339ce71f1eabae6376f26364cb464b2d98b2aa807469344b0d24123dc60d8
BLAKE2b-256 checksum
How to use checksums
a2f00a88769ab0b445948e8503f51ab7f97e5abfa1de930e28c4d5a681b38096
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 12, 2026.

Transparency log

Security for dsgovbr-sphinx-theme 3.7.0.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-3.7.0.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 12, 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