summaryrefslogtreecommitdiff
path: root/sphinx/roles.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Use PEP-526 based variable annotationTakeshi KOMIYA2021-04-081-5/+5
|
* refactor: use raw Type for type annotationsTakeshi KOMIYA2021-04-041-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
| * Sort imports with isortFrançois Freitag2020-11-111-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Do isortTakeshi KOMIYA2020-11-121-2/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-051-2/+3
|\ \ | |/
| * Fix #7869: abbr role wrongly copies an explanation from the previous oneTakeshi KOMIYA2020-06-271-2/+3
| |
| * Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA2020-05-031-1/+1
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-254/+0
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-191-1/+1
|\ \ | |/
| * Fix sphinx crashes with ImportError on python3.5.1Takeshi KOMIYA2020-04-191-2/+2
| | | | | | | | | | typing.Type was added since python 3.5.2. So it should be imported only on type checking.
* | Merge branch '3.x'Takeshi KOMIYA2020-04-061-2/+1
|\ \ | |/
| * Fix #6477: Escape first "!" in a cross reference linking no longer possibleTakeshi KOMIYA2020-03-281-2/+1
| |
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-2/+2
| |
* | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-2/+1
|/
* refactor: Make a bullet character for :menuselection: a constantTakeshi KOMIYA2020-01-111-1/+3
| | | | refs: #7006
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Deprecate sphinx.roles:Index and make a copy to sphinx.domains.indexTakeshi KOMIYA2019-12-291-1/+1
|
* Migrate to py3 style type annotation: sphinx.rolesTakeshi KOMIYA2019-12-251-63/+54
|
* Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-1/+2
|
* Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-1/+1
|
* refactor XRefRole using ReferenceRole classTakeshi KOMIYA2019-02-161-44/+62
|
* Replace :file: and :samp: roles by class based implementationTakeshi KOMIYA2019-02-161-2/+57
|
* Replace :guilabel: and :menuselection: roles by class based implementationTakeshi KOMIYA2019-02-161-2/+31
|
* Fix :pep: and :rfc: roles are brokenTakeshi KOMIYA2019-02-161-10/+9
|
* Replace :pep: and :rfc: roles by class based implementationTakeshi KOMIYA2019-02-161-2/+78
|
* Replace :index: role by class based implementationTakeshi KOMIYA2019-02-161-2/+28
|
* Replace :abbr: role by class based implementationTakeshi KOMIYA2019-02-061-1/+21
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-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.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-1/+1
| |
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-2/+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-13/+13
| |
* | Deprecate abbreviation node (refs: #5720)Takeshi KOMIYA2018-12-151-2/+2
| |
* | Correct type signature of set_role_source_info()Jon Dufresne2018-12-091-2/+2
| |
* | Fix annotations of resolve_nodesTakeshi KOMIYA2018-12-031-3/+2
| |
* | Fix annotations of process_link()Takeshi KOMIYA2018-12-031-4/+3
| |
* | Fix annotations for minor methods and functionsTakeshi KOMIYA2018-11-301-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-1/+1
| |
* | Fix annotations for rolesTakeshi KOMIYA2018-11-231-3/+4
| |
* | Adjust type annotations for roles to docutils'Takeshi KOMIYA2018-11-231-7/+7
| |
* | Partially revert "Simplify XRefRole constructor"cocoatomo2018-11-161-2/+7
| |
* | Fix type hintingcocoatomo2018-11-081-1/+1
| |
* | Revert "More simplified"cocoatomo2018-11-081-4/+3
| | | | | | | | This reverts commit d58eb355156f8fa6c4b7b6a82f9e895a30e7b8f4.
* | More simplifiedcocoatomo2018-11-071-3/+4
| |
* | Simplify XRefRole constructorcocoatomo2018-11-071-8/+3
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-10-161-2/+2
|\ \ | |/