summaryrefslogtreecommitdiff
path: root/sphinx/builders/text.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-3/+3
|
* 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
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.builders)Takeshi KOMIYA2021-03-131-2/+2
|
* 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
* 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.
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Migrate to py3 style type annotation: sphinx.builders.textTakeshi KOMIYA2019-06-101-20/+10
|
* 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-8/+7
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-1/+1
| |
* | 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-2/+3
|/
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Enable text_add_secnumbers by default (refs: #4218)Takeshi KOMIYA2018-01-151-1/+1
|
* Merge branch 'master' into feature-text-secnumbersTakeshi KOMIYA2018-01-151-1/+3
|\
| * builders: Add 'Builder.epilog' optionStephen Finucane2018-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
| |
* | Fix typing imports for mypy in sphinx.builders.textMatthew Woodcraft2017-11-061-1/+1
| |
* | #3998: Add optional section numbering in plain text outputMatthew Woodcraft2017-11-051-1/+5
|/ | | | | Controlled by new config values: text_add_secnumbers and text_secnumber_suffix.
* Move translators to SphinxFactoryTakeshi KOMIYA2017-04-221-1/+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/+14
| |
* | Use loggersTakeshi KOMIYA2017-01-021-1/+4
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-12-141-0/+6
|\ \ | |/
| * builtin extensions return metadata to allow parallel buildTakeshi KOMIYA2016-12-121-0/+6
| |
* | Add type-check annotations to sphinx.buildersTakeshi KOMIYA2016-11-161-0/+2
|/
* 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
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |