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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dsgovbr_sphinx_theme-0.1.2.tar.gz | 761.0 kB | With provenance | Details for dsgovbr_sphinx_theme-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dsgovbr_sphinx_theme-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for dsgovbr_sphinx_theme-0.1.2-py3-none-any.whl |
Total release size: 1.5 MB
Release files / dsgovbr_sphinx_theme-0.1.2.tar.gz
| Download URL | dsgovbr_sphinx_theme-0.1.2.tar.gz |
|---|---|
| Size | 761.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8760291f7556471634c1295bc8926d54fd7d0e901792610ad86667663298afee
|
|
BLAKE2b-256 checksum How to use checksums |
1509e3149f94d1f98b545ba7516f314f505ea9f270a258561bd425042a284216
|
| 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 logRelease files / dsgovbr_sphinx_theme-0.1.2-py3-none-any.whl
| Download URL | dsgovbr_sphinx_theme-0.1.2-py3-none-any.whl |
|---|---|
| Size | 762.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5853798fc3293e854c958dd935967c9d3d56c9b3569bb863278b08b2646bf8c2
|
|
BLAKE2b-256 checksum How to use checksums |
5bbd21171d626a8ceb5bec6d9bbf1bd324bc3e52ffcef40596e0716ca1cab87f
|
| 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 logSecurity for dsgovbr-sphinx-theme 0.1.2
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.
Attestation for dsgovbr_sphinx_theme-0.1.2.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 logA 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.