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 0.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 dsgovbr-sphinx-theme 0.2.0
File Size Uploaded Provenance Actions
dsgovbr_sphinx_theme-0.2.0.tar.gz 761.0 kB With provenance Details for dsgovbr_sphinx_theme-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / dsgovbr_sphinx_theme-0.2.0.tar.gz

Download URL dsgovbr_sphinx_theme-0.2.0.tar.gz
Size 761.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bede91015780a5365defce8c7cd06b6a0e5c8c3492450372948a21fcaec4575c
BLAKE2b-256 checksum
How to use checksums
2077514925b22a9484a87893f379f71bbda84b17f1a0fba871aebb2b04f49d92
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-0.2.0-py3-none-any.whl

Download URL dsgovbr_sphinx_theme-0.2.0-py3-none-any.whl
Size 762.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5331e96ead5c68ea8c3c0a538a96e6d728f11b93e14f2d8ab30b8c6a2e57234a
BLAKE2b-256 checksum
How to use checksums
a7a5c04a4e06d34a3fb59fcebda0cd014776247f98b5c356698b1561959183e3
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 0.2.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.2.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