summaryrefslogtreecommitdiff
path: root/sphinx/ext/linkcode.py
Commit message (Collapse)AuthorAgeFilesLines
* Use PEP 595 typesAdam Turner2023-01-011-3/+3
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+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
|
* 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
|
* Support docutils-0.18: Consume iterator of Element.traverse()Takeshi KOMIYA2021-10-271-1/+1
| | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop.
* refactor: Use PEP-526 based variable annotation (sphinx.ext)Takeshi KOMIYA2021-03-151-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
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Migrate to py3 style type annotation: sphinx.ext.linkcodeTakeshi KOMIYA2019-07-011-9/+6
|
* 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.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-3/+2
| |
* | Fix annotations (minor fixes)Takeshi KOMIYA2018-12-031-3/+2
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Always prefer dict literals over calls to dict()Jon Dufresne2018-11-131-6/+6
|/ | | | | Dict literals are always slightly faster and are idiomatic modern Python.
* Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-3/+2
| | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+3
|
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-1/+1
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* 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
| |
* | Add type-check annotations to sphinx.extTakeshi KOMIYA2016-11-161-1/+8
|/
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* Support PEP-440 version spec for developers.shimizukawa2015-03-141-1/+1
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | Make remaining builtin extensions parallel-read-proof.Georg Brandl2014-09-221-1/+1
| |
* | [WIP] parallel readGeorg Brandl2014-09-221-1/+4
| |
* | Change extension setup() return value to a dictionary of metadata.Georg Brandl2014-09-221-1/+1
| | | | | | | | This makes it possible to introduce more metadata values later.
* | Return version from setup() for all sphinx.ext extensions.Georg Brandl2014-09-031-0/+2
|/
* Update copyright year.Georg Brandl2014-03-011-1/+1
|
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* BUG: ext/linkcode: do not detect linkcode config changesPauli Virtanen2012-12-071-1/+1
| | | | | | Since the linkcode_resolve is a function, it triggers configuration change on each rebuild, resulting to full rebuild always. It's better to make it not do that.
* ENH: add a linkcode extensionPauli Virtanen2012-03-111-0/+72