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

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

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / dsgovbr_sphinx_theme-0.1.1.tar.gz

Download URL dsgovbr_sphinx_theme-0.1.1.tar.gz
Size 761.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b2c0e85ea205e428aeda9fc8b68be9e40ea2e57027b58fed3bceb4b232e99c9f
BLAKE2b-256 checksum
How to use checksums
17424e4138a2d9b674da6f4b904ab3d88768d1dea253857bd019940bc4bfea55
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.1-py3-none-any.whl

Download URL dsgovbr_sphinx_theme-0.1.1-py3-none-any.whl
Size 762.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b4616b9b719637634831089580e6f2b7313dc695420a6376622c6c42b32a684
BLAKE2b-256 checksum
How to use checksums
babe79ae5b9f17ec4e4a8d44f604661c1e45518fbea53cfa297752ca2b0f7c54
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.1

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