Changelog

Versão 8.2.0 (em desenvolvimento)

Dependências

  • #13000: Descarta o suporte a Python 3.10.

Atualizações incompatíveis

  • #13044: Remove the internal and undocumented has_equations data from the MathDomain` domain. The undocumented MathDomain.has_equations() method now unconditionally returns True. These are replaced by the has_maths_elements key of the page context dict. Patch by Adam Turner.

  • #13227: HTML output for sequences of keys in the kbd role no longer uses a <kbd class="kbd compound"> element to wrap the keys and separators, but places them directly in the relevant parent node. This means that CSS rulesets targeting kbd.compound or .kbd.compound will no longer have any effect. Patch by Adam Turner.

Descontinuada

  • #13037: Descontinua o método SingleHTMLBuilder.fix_refuris. Patch de James Addison.

Funcionalidades adicionadas

  • Add a new duplicate_declaration warning type, with duplicate_declaration.c and duplicate_declaration.cpp subtypes. Patch by Julien Lecomte and Adam Turner.

  • #11824: linkcode: Allow extensions to add support for a domain by defining the keys that should be present. Patch by Nicolas Peugnet.

  • #13144: Add a class option to the autosummary directive. Patch by Tim Hoffmann.

  • #13146: Napoleon: Unify the type preprocessing logic to allow Google-style docstrings to use the optional and default keywords. Patch by Chris Barrick.

  • #13227: Implement the kbd role as a SphinxRole. Patch by Adam Turner.

  • #13065: Enable colour by default in when running on CI. Patch by Adam Turner.

  • Allow supressing warnings from the toctree directive when a glob pattern doesn’t match any documents, via the new toc.glob_not_matching warning sub-type. Patch by Slawek Figiel.

Erros corrigidos

  • #12463: autosummary: Respect an empty module __all__. Patch by Valentin Pratz

  • #13060: Pesquisa HTML: usa Map para armazenar pontuações de termos por arquivo. Patch de James Addison

  • #13130: documentos LaTeX: A criação do índice do pdflatex pode falhar para entradas de índice em francês. Veja latex_use_xindy. Patch de Jean-François B.

  • LaTeX: corrige um erro de digitação da versão 7.4.0 em um padrão para \sphinxboxsetup (refs: PR #13152). Patch de Jean-François B.

  • #13096: Pesquisa HTML: verifica se os termos de consulta existem como propriedades nos índices de termos antes de acessá-los.

  • #11233: linkcheck: match redirect URIs against linkcheck_ignore by overriding session-level requests.get_redirect_target.

  • #13195: viewcode: Fix issue where import paths differ from the directory structure. Patch by Ben Egan and Adam Turner.

  • #13188: autodoc: fix detection of class methods implemented in C. Patch by Bénédikt Tran.

  • #1810: Always copy static files when building, regardless of whether any documents have changed since the previous build. Patch by Adam Turner.

Testes

  • #13224: Correctness fixup for test_html_multi_line_copyright. Patch by Colin Watson, applied by James Addison.

Versões anteriores