summaryrefslogtreecommitdiff
path: root/sphinx/parsers.py
Commit message (Collapse)AuthorAgeFilesLines
* Run pyupgrade (#11070)Adam Turner2023-01-021-2/+2
|
* Use PEP 604 typesAdam Turner2023-01-011-2/+2
|
* Use PEP 595 typesAdam Turner2023-01-011-3/+3
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Remove deprecated code for Sphinx 5.0Adam Turner2022-04-171-11/+0
|
* doc: Update docs for sphinx.parsers.ParserTakeshi KOMIYA2022-03-271-17/+13
|
* 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
|
* Fix nits after review by tk0miya; merge HEADLouis Maddox2021-07-191-2/+1
|
* Improve sphinx.parsers docstringsLouis Maddox2021-07-181-4/+6
|
* refactor: use raw Type for type annotationsTakeshi KOMIYA2021-04-041-3/+2
|
* 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-2/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-0/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch '3.x'Takeshi KOMIYA2020-05-041-1/+1
|\ \ | |/
| * Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA2020-05-031-1/+1
| |
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-3/+3
| |
* | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-3/+2
|/
* Deprecate sphinx.parsers.Parser.appTakeshi KOMIYA2020-02-151-1/+10
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Migrate to py3 style type annotation: sphinx.parsersTakeshi KOMIYA2019-12-251-14/+10
|
* Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-1/+2
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Merge branch '1.8'jfbu2018-12-281-1/+1
|\ \ | |/ | | | | | | | | | | resolved Conflicts: doc/development/tutorials/todo.rst sphinx/locale/__init__.py sphinx/search/zh.py
| * Fix various spelling typosjfbu2018-12-271-1/+1
| |
* | 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.
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-1/+1
| | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-2/+1
| |
* | Add docutils-stubs to test depsTakeshi KOMIYA2018-12-151-1/+1
| |
* | Process prolog and epilog on RSTParser (instead Input component)Takeshi KOMIYA2018-12-051-19/+31
| |
* | refactor: RSTParser should inherit sphinx.parsers.ParserTakeshi KOMIYA2018-12-051-1/+1
| |
* | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-2/+2
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Drop APIs deprecated in 2.0Takeshi KOMIYA2018-09-031-2/+0
|/
* Update docs for sphinx.parsers.ParserTakeshi KOMIYA2018-06-081-0/+3
|
* Merge branch '1.7'Takeshi KOMIYA2018-03-181-3/+2
|\
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-3/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Change interface of add_source_parser() and add add_source_suffix()Takeshi KOMIYA2018-02-211-1/+1
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-02-181-2/+3
|\ \ | |/
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+3
| |
* | Integrate source_suffix and source_parsers (refs: #4474)Takeshi KOMIYA2018-01-251-1/+1
|/
* Merge branch 'stable'Takeshi KOMIYA2018-01-071-4/+3
|\
| * Move SphinxSmartQuotes transform to SphinxStandaloneReaderjfbu2018-01-051-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #4142 closes #4357 closes #4359 refs: #3967 Adds ``smartquotes``, ``smartquotes_action``, ``smartquotes_excludes`` configuration variables. - if ``smartquotes`` is set to False, then Smart Quotes transform is not applied even if a Docutils configuration file activates it, - the current default of ``smartquotes_excludes`` deactivates Smart Quotes for Japanese language, and also for the ``man`` and ``text`` builders. However, currently ``make text html`` deactivates Smart Quotes for ``html`` too, and ``make html text`` activates them for ``text`` too, because the picked environment is shared and already transformed. - now Smart Quotes get applied also when source documents are in Markdown or other formats.