summaryrefslogtreecommitdiff
path: root/sphinx/builders/xml.py
Commit message (Collapse)AuthorAgeFilesLines
* Use PEP 604 typesAdam Turner2023-01-011-3/+3
|
* Use PEP 595 typesAdam Turner2023-01-011-4/+4
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Improve static typing strictness (#10569)danieleades2022-07-181-2/+2
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* Fix #9413: xml: Invalid XML was generated when cross referencing python objectsTakeshi KOMIYA2022-01-161-0/+3
|
* Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-1/+1
| | | | | | | | 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-011-1/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.builders)Takeshi KOMIYA2021-03-131-1/+1
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | | | | | | | | .. 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
* | Do isortTakeshi KOMIYA2020-11-121-1/+0
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-1/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-5/+1
|/
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-1/+6
|
* Migrate to py3 style type annotation: sphinx.builders.xmlTakeshi KOMIYA2019-06-101-21/+11
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Replace EnvironmentError and IOError by OSErrorTakeshi KOMIYA2018-12-191-2/+2
| | | | | | | | | | Since python 3.3, EnvironmentError and IOError were merged into OSError.
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-6/+5
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-1/+1
| |
* | Fix annotations for buildersTakeshi KOMIYA2018-12-021-2/+3
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Deprecate suffix for env.doc2path()Takeshi KOMIYA2018-09-221-2/+1
| |
* | Prefer builtin open() over io.open() and codecs.open()Jon Dufresne2018-09-111-2/+1
|/ | | | | | | | | | | | In Python3, the functions io.open() is an alias of the builtin open() and codecs.open() is functionally equivalent. To reduce indirection, number of imports, and number of patterns, always prefer the builtin. https://docs.python.org/3/library/io.html#high-level-module-interface > io.open() > > This is an alias for the builtin open() function.
* Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Make console and warning messages translatableTakeshi KOMIYA2018-03-031-3/+4
|/
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* builders: Add 'Builder.epilog' optionStephen Finucane2018-01-111-0/+4
| | | | | | | | | | | | This allows builders to emit a final epilog message containing information such as where resulting files can be found. This is only emitted if the build was successful. This allows us to remove this content from the 'make_mode' tool and the legacy 'Makefile' and 'make.bat' templates. There's room for more dramatic simplification of the former, but this will come later. Signed-off-by: Stephen Finucane <stephen@that.guru>
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Move translators to SphinxFactoryTakeshi KOMIYA2017-04-221-0/+2
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
| |
* | Fix mypy violationsTakeshi KOMIYA2017-02-081-1/+13
| |
* | Use loggersTakeshi KOMIYA2017-01-021-1/+4
|/
* builtin extensions return metadata to allow parallel buildTakeshi KOMIYA2016-12-121-0/+6
|
* Now all builders and domains work as built-in extensionsTakeshi KOMIYA2016-07-061-0/+7
|
* Refactor code using ``with`` syntaxTakeshi KOMIYA2016-05-261-4/+1
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* builders: pep8 fixesGeorg Brandl2015-03-081-0/+1
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\