summaryrefslogtreecommitdiff
path: root/sphinx/roles.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix COM812Adam Turner2023-02-181-1/+1
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-5/+5
|
* Use PEP 604 typesAdam Turner2023-01-011-3/+3
|
* Use PEP 595 typesAdam Turner2023-01-011-24/+24
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Improve static typing strictness (#10569)danieleades2022-07-181-2/+3
|
* Merge branch '4.x' into 5.xTakeshi KOMIYA2022-05-061-0/+58
|\
| * Merge pull request #10251 from jbms/fix-inline-syntax-highlightTakeshi KOMIYA2022-05-061-0/+58
| |\ | | | | | | Make code role highlighting consistent with code-block directive
| | * Make code role highlighting consistent with code-block directiveJeremy Maitin-Shepard2022-03-191-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/sphinx-doc/sphinx/issues/5157 This is factored out of the sphinx-immaterial theme: https://github.com/jbms/sphinx-immaterial/blob/1ef121a612d4f5afc2a9ca9c4e3f20fca89065e8/sphinx_immaterial/inlinesyntaxhighlight.py#L1 See also: https://github.com/sphinx-doc/sphinx/pull/6916
* | | `rawsource` is deprecated in `docutils.nodes.Text`Adam Turner2022-04-221-2/+2
|/ /
* | Include trailing / in PEP URL to avoid 301 redirectHugo van Kemenade2022-03-241-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
|/
* Merge branch '4.3.x' into 4.xTakeshi KOMIYA2022-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2022-01-011-1/+1
| |
* | Fix some messages are still not translatedTakeshi KOMIYA2021-12-271-3/+3
|/
* 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
| |