summaryrefslogtreecommitdiff
path: root/tests/test_ext_intersphinx.py
Commit message (Collapse)AuthorAgeFilesLines
* `.read_text()` -> `.read_text(encoding='utf8')`Adam Turner2022-04-271-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
|
* intersphinx role, hax role name to preserve caseJakob Lykke Andersen2022-01-161-1/+1
|
* intersphinx role: new inventory parsing from role nameJakob Lykke Andersen2022-01-161-0/+17
|
* intersphinx role, implement warning schemeJakob Lykke Andersen2022-01-161-16/+8
| | | | and temporarily remove explicit inventories
* intersphinx: explicitly parse out inventory specificationJakob Lykke Andersen2022-01-161-0/+2
|
* intersphinx: more role testingJakob Lykke Andersen2022-01-161-27/+15
|
* intersphinx: Add :intersphinx:***: roleTakeshi KOMIYA2022-01-161-0/+46
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* rename intersphinx_disabled_{refs -> reftypes}Jakob Lykke Andersen2021-10-311-5/+5
| | | | And change format for domains to {name}:*
* intersphinx_disabled_refs, rename 'all' to '*'Jakob Lykke Andersen2021-10-311-1/+1
|
* Generalize to disable specific refs as well.Jakob Lykke Andersen2021-10-311-13/+25
|
* Add intersphinx_disabled_domainsJakob Lykke Andersen2021-10-311-22/+71
| | | | | Fixes sphinx-doc/sphinx#2068 Replaces sphinx-doc/sphinx#8981
* Intersphinx, refactoringJakob Lykke Andersen2021-10-311-2/+2
| | | | Also, when a reference is unresolved, don't strip the inventory prefix.
* intersphinx: Add testcase for case insensitive term match (refs: #9299)Takeshi KOMIYA2021-07-111-0/+10
|
* refactor: reduce calls of find_pending_xref_conditions (refs: #9240)Takeshi KOMIYA2021-05-221-8/+0
| | | | | | | 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.
* Decl styling, fix cpp testsJakob Lykke Andersen2021-04-121-2/+2
|
* Decl styling, more nodes and C++ conversionJakob Lykke Andersen2021-04-121-2/+2
|
* intersphinx: Support pending_xref_conditionTakeshi KOMIYA2021-03-061-0/+8
|
* Merge branch '3.x' into 8446_escape_spaces_inside_desc_signaturesTakeshi KOMIYA2021-02-011-2/+2
|\
| * 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
| * refactor with pyupgradeTakeshi KOMIYA2020-11-251-1/+1
| | | | | | | | | | | | Run `pyupgrade --py3-only --keep-percent-format` to refine our code. Note: --keep-percent-format is required to keep translations available.
* | Fix #8446: html: consecutive spaces are displayed as single spaceTakeshi KOMIYA2020-11-221-2/+2
|/ | | | | | In HTML, consecutive spaces are considered as single space by HTML browsers. To represent them as is, we have to escape them on rendering them into HTML. This starts to escape the whole of desc_signature node.
* Make tests/ a Python packageFrançois Freitag2020-11-201-2/+3
| | | | Allows relative imports.
* refactor: Fix flake8 violations under tests/ directoryTakeshi KOMIYA2020-11-151-1/+0
|
* Sort imports with isortFrançois Freitag2020-11-111-5/+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.
* Rewrite test_inspect_main_url to avoid mockingFrançois Freitag2020-11-081-15/+15
| | | | | | | Makes the test more realistic by issuing an HTTP request. Reduces coupling between test and the code under test. The `http_server` helper was factored out into a new tests.utils module.
* Merge branch '2.4.x' into 3.xTakeshi KOMIYA2020-02-221-0/+6
|\
| * Fix #7183: intersphinx: ``:attr:`` reference to property is brokenTakeshi KOMIYA2020-02-221-0/+6
| |
* | test: Use read_text() and read_bytes()Takeshi KOMIYA2020-02-011-1/+1
|/
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Fix #6140: Use unittest.mock instead of mockTakeshi KOMIYA2019-03-081-1/+1
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | intersphinx: Normalize mapping on config-initedTakeshi KOMIYA2018-12-171-1/+10
| |
* | 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.
* | Avoid respecifying default encoding for .encode()/.decode() callsJon Dufresne2018-12-151-1/+1
|/ | | | | | | | | | | In Python 3, both .encode() and .decode() default the encoding to 'utf-8'. See the docs: https://docs.python.org/3/library/stdtypes.html#str.encode https://docs.python.org/3/library/stdtypes.html#bytes.decode Simplify and shorten the code by using the default instead of respecifying it.
* Fix #4664: Reading objects.inv fails againTakeshi KOMIYA2018-02-231-10/+10
|
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-5/+5
|
* Merge branch 'stable' into 1.7-releaseTakeshi KOMIYA2018-02-031-0/+32
|\
| * intersphinx: Add testcase for inventory fallbacksTakeshi KOMIYA2018-01-311-0/+32
| |
* | Fix #4209: intersphinx: In link title, "v" should be optional if target has ↵Takeshi KOMIYA2018-01-301-1/+20
| | | | | | | | no version
* | Fix #4079: Add notranslate class to let Google Translate know they are not ↵Takeshi KOMIYA2018-01-131-1/+2
| | | | | | | | translatable
* | Merge commit '4277eb13315d5649401190df86874b3832ddfa3e'Takeshi KOMIYA2018-01-071-1/+7
|\ \ | |/
| * Fix links to external option docs with intersphinx (refs: #3769)Takeshi KOMIYA2018-01-021-1/+7
| |
* | Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\ \ | |/