Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | i18n: meta strings are not translated with docutils-0.18 | Takeshi KOMIYA | 2022-01-02 | 1 | -1/+6 | |
| | | | | | | | i18n feature for meta strings does not work if docutils-0.18 used. Note: Since docutils-0.18, patch for meta directive is no longer needed because it uses a picklable meta nodes; ``docutils.nodes.meta``. | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 7 | -7/+7 | |
| | ||||||
* | Fix #9947: i18n: topic directive having a bullet list can't be translatable | Takeshi KOMIYA | 2021-12-10 | 1 | -1/+1 | |
| | | | | | | It seems docutils does not fill the topic node with the source info when a topic directive has a bullet list. As a workaround, This fills the source info of them. | |||||
* | Support docutils-0.18: Consume generator of Element.traverse() | Takeshi KOMIYA | 2021-10-31 | 1 | -15/+15 | |
| | | | | | The last fix in i18n module was incorrect because it compares the "already consumed" generators. It should compares the lists of nodes. | |||||
* | Support docutils-0.18: Consume iterator of Element.traverse() | Takeshi KOMIYA | 2021-10-27 | 3 | -4/+4 | |
| | | | | | | | 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-reference | Matthijs van der Burgh | 2021-10-10 | 1 | -1/+2 | |
| | ||||||
* | refactor: Node.traverse() will returns generator since 0.18 | Takeshi KOMIYA | 2021-10-10 | 1 | -5/+5 | |
| | ||||||
* | Fix typos discovered by codespell | Christian Clauss | 2021-09-08 | 2 | -2/+2 | |
| | ||||||
* | Improve sphinx.transforms docstrings | Louis Maddox | 2021-07-18 | 1 | -4/+4 | |
| | ||||||
* | Improve sphinx.transforms.post_transforms.images docstrings | Louis Maddox | 2021-07-18 | 1 | -7/+7 | |
| | ||||||
* | Improve sphinx.transforms.post_transforms docstrings | Louis Maddox | 2021-07-18 | 1 | -3/+3 | |
| | ||||||
* | Fix typo | Eisuke Kawashima | 2021-07-08 | 1 | -1/+1 | |
| | ||||||
* | Merge branch '4.0.x' into 4.x | Takeshi KOMIYA | 2021-06-30 | 1 | -1/+2 | |
|\ | ||||||
| * | Fix #9322: KeyError is raised on PropagateDescDomain transform | Takeshi KOMIYA | 2021-06-13 | 1 | -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 pull request #9239 from igo95862/https-links | Takeshi KOMIYA | 2021-05-19 | 1 | -1/+1 | |
|\ \ | | | | | | | Upgrade URLs to use HTTPS | |||||
| * | | doc: Upgrade docutils.sourceforge.io links to HTTPS | igo95862 | 2021-05-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Also change any docutils.sourceforge.net link to io top level domain. | |||||
* | | | Merge branch '4.0.x' into 4.x | Takeshi KOMIYA | 2021-05-19 | 1 | -9/+19 | |
|\ \ \ | |/ / |/| / | |/ | ||||||
| * | Fix #9240: Unknown node error for pending_xref_condition is raised | Takeshi KOMIYA | 2021-05-18 | 1 | -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. | |||||
* | | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-05-10 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #9131 from RuRo/feature/glob-nitpick-ignore | Takeshi KOMIYA | 2021-05-05 | 1 | -1/+15 | |
|\ \ | | | | | | | Ignore nitpick warnings with regular expressions using `nitpick_ignore_regex` | |||||
| * | | implement nitpick_ignore_regex | ruro | 2021-05-02 | 1 | -1/+15 | |
| |/ | ||||||
* | | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-05-03 | 1 | -3/+3 | |
|/ | ||||||
* | Fix #9103: LaTeX: imgconverter: conversion runs even if not needed | Takeshi KOMIYA | 2021-04-17 | 1 | -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 review | Jakob Lykke Andersen | 2021-04-12 | 1 | -2/+2 | |
| | ||||||
* | Decl styling, update writers | Jakob Lykke Andersen | 2021-04-12 | 1 | -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 Andersen | 2021-04-12 | 1 | -0/+10 | |
| | | | | desc_signature nodes | |||||
* | Decl styling, more nodes and C++ conversion | Jakob Lykke Andersen | 2021-04-12 | 1 | -5/+1 | |
| | ||||||
* | refactor: Use PEP-526 based variable annotation (sphinx.transforms) | Takeshi KOMIYA | 2021-03-24 | 6 | -23/+23 | |
| | ||||||
* | Merge pull request #8432 from tk0miya/7119_pending_xref_condition | Takeshi KOMIYA | 2021-03-06 | 1 | -3/+20 | |
|\ | | | | | Fix #7119: Show type hint names unqualified when resolving succeeded | |||||
| * | Filter pending_xref_condition node on failed resolution | Takeshi KOMIYA | 2021-03-06 | 1 | -3/+20 | |
| | | ||||||
* | | Merge pull request #8954 from askhl/safer-translatable-strings | Takeshi KOMIYA | 2021-03-04 | 1 | -6/+5 | |
|\ \ | |/ |/| | Safe formatting of translatable strings | |||||
| * | format translatable strings in one go. This enables translation tools like ↵ | Ask Hjorth Larsen | 2021-03-03 | 1 | -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-2 | Takeshi KOMIYA | 2021-02-17 | 1 | -1/+1 | |
|\ \ | | | | | | | fix potential getitem error in resolve_anyref | |||||
| * | | fix potential getitem error in resolve_anyref | Matthias C. M. Troffaes | 2021-02-16 | 1 | -1/+1 | |
| |/ | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-02-09 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | i18n: Locale transform: Change heading syntax to work for both RST and Markdown | James McKinney | 2021-02-08 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-28 | 1 | -0/+1 | |
|\ \ | |/ | ||||||
| * | Fix #8745: i18n: KeyError if a new auto footnote_ref in translations | Takeshi KOMIYA | 2021-01-25 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | Some writers will be crashed by KeyError because of lack of the refid if a new auto footnote reference is added to the message catalog by translation misses. This detects the invalid footnote references and removes them on the translation phase. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-22 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | minor typing fix | Chris Sewell | 2021-01-20 | 1 | -2/+2 | |
| | | ||||||
* | | Fix #4550: The align attribute of figure nodes becomes None by default | Takeshi KOMIYA | 2021-01-16 | 1 | -1/+7 | |
| | | | | | | | | | | | | To keep compatibility with the standard doctree model of docutils, this stops to use 'default' value as a default value of the align attribute for figure and table nodes. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-08 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Skip imgconverter availability check if builder supports the image type | Stefan Wiehler | 2021-01-04 | 1 | -3/+3 | |
| | | | | | | | | | | Close #7973: ImgConverter runs is_available in HTML builder Close missinglinkelectronics/sphinxcontrib-svg2pdfconverter#8: Extension should only run on LaTeX builder | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 7 | -7/+7 | |
|\ \ | |/ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 7 | -7/+7 | |
| | | | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-12-20 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Deprecate sphinx.util.osutil.movefile() in favor of os.replace() | Jon Dufresne | 2020-12-13 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | The utility function movefile() was added in 677d096393bca948eea8fad252bd859ed8142309 to handle existing files on Windows. Since Python 3.3, the stdlib function os.replace() fills this role. | |||||
* | | Do isort | Takeshi KOMIYA | 2020-11-12 | 3 | -6/+3 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-12 | 5 | -17/+10 | |
|\ \ | |/ | ||||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 6 | -21/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip. |