summaryrefslogtreecommitdiff
path: root/sphinx/ext/intersphinx.py
Commit message (Collapse)AuthorAgeFilesLines
* Somewhat more efficient fix.Tom Oinn2021-06-041-10/+19
| | | | Only looks for case insensitive match if there isn't a case sensitive one, and uses filter to build a list of case insensitive matches rather than building a dict.
* Fix for sphinx-doc/sphinx#9291Tom Oinn2021-06-041-3/+13
|
* refactor: reduce calls of find_pending_xref_conditions (refs: #9240)Takeshi KOMIYA2021-05-221-13/+2
| | | | | | | After #9246, `find_pending_xref_conditions()` should be only called from intended modules. At present, the Python Domain is the only module to call it intendedly. Therefore, this removes the needless calls of the utility function from "unintended" modules.
* refactor: Use PEP-526 based variable annotation (sphinx.ext)Takeshi KOMIYA2021-03-151-2/+2
|
* intersphinx: Support pending_xref_conditionTakeshi KOMIYA2021-03-061-5/+18
|
* 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.
* Fix exception causes all over the codebaseRam Rachum2020-06-141-1/+1
|
* Fix #7409: Convert configuration values on late config-inited eventTakeshi KOMIYA2020-04-051-1/+1
| | | | | | This changes a priority for config-inited handlers of core modules to invoke them at the late of the event. It allows extensions to modify configurations.
* put comma between sentencesRafael Fontenelle2020-03-081-1/+1
|
* Fix #7183: intersphinx: ``:attr:`` reference to property is brokenTakeshi KOMIYA2020-02-221-0/+3
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Replace `a and b or c` by the more legible `b if a or c`.Antony Lee2019-12-211-2/+2
|
* Fetch inventories concurrentlyZac-HD2019-11-151-15/+26
|
* Close #1331: Change default User-Agent headerTakeshi KOMIYA2019-10-271-0/+1
|
* Fix mypy violations (for mypy-0.730)Takeshi KOMIYA2019-10-061-2/+2
|
* Merge branch '2.1.3' into 2.0Takeshi KOMIYA2019-07-131-1/+1
|\
| * Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-1/+1
| |
* | Migrate to py3 style type annotation: sphinx.ext.intersphinxTakeshi KOMIYA2019-07-011-37/+22
|/
* Python-3-only clean ups discovered by pyupgradeJon Dufresne2019-03-171-2/+2
| | | | | | | | | | | | | | https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension
* Merge branch '1.8' into 2.0Takeshi KOMIYA2019-03-091-5/+4
|\
| * Fixed a bug in intersphinx failure reportingLuc Saffre2019-03-081-5/+4
| |
| * Fix mypy violationsTakeshi KOMIYA2019-01-171-1/+1
| |
* | Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
| |
* | Make info messages more translatableTakeshi KOMIYA2019-01-091-4/+4
| |
* | Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
| * Fix #5471: Show appropriate warning for deprecated APIsTakeshi KOMIYA2018-10-171-1/+1
| |
* | intersphinx: Normalize mapping on config-initedTakeshi KOMIYA2018-12-171-23/+28
| |
* | Merge pull request #5817 from jdufresne/inventory-typingTakeshi KOMIYA2018-12-171-3/+1
|\ \ | | | | | | Define a common Inventory type for reuse across modules
| * | Define a common Inventory type for reuse across modulesJon Dufresne2018-12-161-3/+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-14/+13
| |
* | Remove print_function featureTakeshi KOMIYA2018-12-151-2/+0
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-2/+2
| |
* | Fix annotations for extensionsTakeshi KOMIYA2018-12-011-3/+5
| |
* | Fix annotaions for extensionsTakeshi KOMIYA2018-11-281-1/+1
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Replace six.string_types with native strJon Dufresne2018-11-211-2/+2
| |
* | Remove use six.move moduleTakeshi KOMIYA2018-11-121-1/+1
| |
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-8/+5
|\ \
| * \ Merge branch 'master' into drop-iteritemsTakeshi KOMIYA2018-09-221-6/+3
| |\ \
| | * | refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-5/+2
| | | |
| | * | Merge branch '1.8'Takeshi KOMIYA2018-09-201-1/+1
| | |\ \ | | | |/
| | | * Fix mypy violationsTakeshi KOMIYA2018-09-181-1/+1
| | | |
| * | | Remove use of six.iteritems()Jon Dufresne2018-09-111-3/+3
| |/ / | | | | | | | | | In Python 3, dict.items() is always an iterator.
* | | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-3/+3
|/ / | | | | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* | Drop APIs deprecated in 2.0Takeshi KOMIYA2018-09-031-11/+0
|/
* Merge branch '1.7' into 1.8Takeshi KOMIYA2018-08-251-8/+13
|\
| * Fix #5320: intersphinx: crashed if invalid url givenTakeshi KOMIYA2018-08-221-8/+13
| |