summaryrefslogtreecommitdiff
path: root/sphinx/transforms/post_transforms
Commit message (Collapse)AuthorAgeFilesLines
* Fix translator class check in ``SigElementFallbackTransform`` (#11283)picnixz2023-04-071-1/+5
|
* Enable 'nit-picky mode' for Sphinx's documentationAdam Turner2023-04-061-1/+1
| | | | | Fix several reference errors throughout the documentation and set ``nitpick_ignore`` in ``doc/conf.py``.
* Consider duplicate names when using image post transforms (#11113)aaron-cooper2023-04-031-1/+2
| | | Closes: #11110
* Unescape quotation marks where possibleAdam Turner2023-02-181-1/+1
|
* Fix COM812Adam Turner2023-02-181-2/+2
|
* Resolve Ruff SIM114 violationsAdam Turner2023-02-151-9/+7
|
* Move HTTP-date formatting utils to `utils.http_date`Adam Turner2023-01-031-1/+2
|
* Address SIM103 lints (#11052)danieleades2023-01-021-4/+1
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Use ``any`` to find elements in iterable (#11053)danieleades2023-01-021-5/+8
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-3/+3
|
* Use PEP 604 typesAdam Turner2023-01-012-6/+6
|
* Use PEP 595 typesAdam Turner2023-01-013-16/+16
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-013-0/+6
|
* Enable Ruff's pylint checksAdam Turner2022-12-291-2/+1
| | | | | Also fix two PLW0602 warnings (``global`` without assignment) and five PLW0120 warnings (else clause on loop without break).
* Fix highlighting lexersAdam Turner2022-09-251-2/+2
| | | | - Ensure `pycon3` is always normalised to `pycon`
* Further improve type annotations, reduce mypy whitelist (#10770)danieleades2022-08-281-1/+3
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Merge pull request #10118 from mgeier/image-converter-ignore-questionmarkTakeshi KOMIYA2022-03-241-3/+2
|\ | | | | ImageConverter: ignore '?' image URIs
| * ImageConverter: ignore '?' image URIsMatthias Geier2022-01-181-3/+2
| |
* | Collapse single line docstringsAdam Turner2022-02-203-6/+3
| |
* | Remove copyright and licence fieldsAdam Turner2022-02-203-9/+0
| |
* | Fix module docstring indentationAdam Turner2022-02-203-6/+6
| |
* | Fix module docstring first lineAdam Turner2022-02-203-6/+3
| |
* | Remove module titles in docstringsAdam Turner2022-02-193-9/+0
|/
* Skip "data:" URIs in ImageConverterMatthias Geier2022-01-131-0/+3
|
* Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-033-7/+7
| | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it.
* A happy new year!Takeshi KOMIYA2022-01-013-3/+3
|
* Support docutils-0.18: Consume iterator of Element.traverse()Takeshi KOMIYA2021-10-271-1/+1
| | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop.
* Set refdoc default to pending_xref nodes to be used by missing-referenceMatthijs van der Burgh2021-10-101-1/+2
|
* Improve sphinx.transforms.post_transforms.images docstringsLouis Maddox2021-07-181-7/+7
|
* Improve sphinx.transforms.post_transforms docstringsLouis Maddox2021-07-181-3/+3
|
* Merge branch '4.0.x' into 4.xTakeshi KOMIYA2021-06-301-1/+2
|\
| * Fix #9322: KeyError is raised on PropagateDescDomain transformTakeshi KOMIYA2021-06-131-1/+2
| | | | | | | | | | | | | | | | | | PropageteDescDomain applies the domain name from the "domain" attribute of parent node (desc node) to the desc_signature node. The structure has longly generated by ObjectDescription. But it must not be a new rule. This allows to build document that contains non standard doctree.
* | Merge branch '4.0.x' into 4.xTakeshi KOMIYA2021-05-191-9/+19
|\ \ | |/
| * Fix #9240: Unknown node error for pending_xref_condition is raisedTakeshi KOMIYA2021-05-181-9/+19
| | | | | | | | | | Unknown node error for pending_xref_condition is raised if an extension that does not support the node installs a missing-reference handler.
* | implement nitpick_ignore_regexruro2021-05-021-1/+15
|/
* Fix #9103: LaTeX: imgconverter: conversion runs even if not neededTakeshi KOMIYA2021-04-171-1/+1
| | | | | | The imgconverter unexpectedly goes to convert even if the given image is supported by the target builder when the image globbing is not used. This enables format guess-ing on not globbed.
* Decl styling, fixes from reviewJakob Lykke Andersen2021-04-121-2/+2
|
* Decl styling, update writersJakob Lykke Andersen2021-04-121-8/+9
| | | | | | Add test objects so all builders gets exposed to the new nodes. Make the fallback node post-transform change desc_inline as well. Make the html4, latex, and text writers handle desc_inline.
* Decl styling, use a post-transform to get the domain name in the ↵Jakob Lykke Andersen2021-04-121-0/+10
| | | | desc_signature nodes
* Decl styling, more nodes and C++ conversionJakob Lykke Andersen2021-04-121-5/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.transforms)Takeshi KOMIYA2021-03-243-8/+8
|
* Merge pull request #8432 from tk0miya/7119_pending_xref_conditionTakeshi KOMIYA2021-03-061-3/+20
|\ | | | | Fix #7119: Show type hint names unqualified when resolving succeeded
| * Filter pending_xref_condition node on failed resolutionTakeshi KOMIYA2021-03-061-3/+20
| |
* | Merge pull request #8954 from askhl/safer-translatable-stringsTakeshi KOMIYA2021-03-041-6/+5
|\ \ | |/ |/| Safe formatting of translatable strings
| * format translatable strings in one go. This enables translation tools like ↵Ask Hjorth Larsen2021-03-031-6/+5
| | | | | | | | msgfmt to verify that an incorrect translation cannot crash sphinx-build. This will fix current crashes for Hungarian and Greek (Spanish was fixed in #8941)
* | Merge pull request #8899 from mcmtroffaes/patch-2Takeshi KOMIYA2021-02-171-1/+1
|\ \ | | | | | | fix potential getitem error in resolve_anyref
| * | fix potential getitem error in resolve_anyrefMatthias C. M. Troffaes2021-02-161-1/+1
| |/
* | Merge branch '3.x'Takeshi KOMIYA2021-01-221-2/+2
|\ \ | |/
| * minor typing fixChris Sewell2021-01-201-2/+2
| |
* | Merge branch '3.x'Takeshi KOMIYA2021-01-081-3/+3
|\ \ | |/