Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2022-05-05Merge pull request #10251 from jbms/fix-inline-syntax-highlightHEAD4.xTakeshi KOMIYA
Make code role highlighting consistent with code-block directive
2022-03-27Merge pull request #10178 from stephenfin/issue-10177Takeshi KOMIYA
Revert "Close #9993: std domain: Allow to refer an inline target via ref role"
2022-03-27Merge pull request #10107 from Jean-Abou-Samra/intl-warningsTakeshi KOMIYA
Implement #noqa for i18n
2022-03-27extlinks: Disable hardcoded links detector by default (refs: #10126)Takeshi KOMIYA
The hardcoded links detector added since 4.4.0 causes troubles in many projects. Therefore, this disables it by default, and adds a new configuration `extlinks_detect_hardcoded_links` to enable it explicitly.
2022-03-24Include trailing / in PEP URL to avoid 301 redirectHugo van Kemenade
2022-03-20Make code role highlighting consistent with code-block directiveJeremy Maitin-Shepard
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
2022-03-19test: Fix test_markup does not use default settings for docutilsTakeshi KOMIYA
2022-03-19Merge branch '4.4.x' into 4.xTakeshi KOMIYA
2022-03-19test: empty tuple type is now repesented w/o args since py3.11Takeshi KOMIYA
refs: https://github.com/python/cpython/commit/15df8f8d89a0e563bdd15e4cd6734298736a5a1d
2022-03-16environment: Update default value for pep_base_urlMichal Čihař
This matches docutils change in https://sourceforge.net/p/docutils/code/9045/ Fixes #10253
2022-03-13Merge pull request #10212 from AA-Turner/remove-module-docstring-titlesTakeshi KOMIYA
Remove module docstring titles
2022-03-12C++, minor formattingJakob Lykke Andersen
2022-03-11Update tests/test_domain_cpp.pyJeremy Maitin-Shepard
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11Update tests/test_domain_cpp.pyJeremy Maitin-Shepard
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11Update tests/test_domain_cpp.pyJeremy Maitin-Shepard
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11[C++] Support attributes on class and union and improve formattingJeremy Maitin-Shepard
2022-03-07Fix whitespaceAdam Turner
2022-03-02Merge branch '4.4.x' into 4.xTakeshi KOMIYA
2022-03-02test: Follow the new behavior of typing.get_type_hints() since py311Takeshi KOMIYA
Since python-3.11, `typing.get_type_hints()` will not add Optional[t] to type annotations even if a default value for function argument is None. refs: https://github.com/python/cpython/pull/30304 (bpo-46195)
2022-02-20Collapse single line docstringsAdam Turner
2022-02-20Remove copyright and licence fieldsAdam Turner
2022-02-20Conform to PEP 257 summary line conventionsAdam Turner
2022-02-20Fix module docstring indentationAdam Turner
2022-02-20Fix module docstring first lineAdam Turner
2022-02-20Remove module titles in docstringsAdam Turner
2022-02-15Close #3985: Implement #noqa for i18nJean Abou Samra
When cross-references in the original paragraph and the translated paragraph do not match, a warning is emitted. It is useful, because it allows to catch mistakes, but it can also be an annoyance since sometimes it is expected that the cross-references will not match. For example, a reference that is repeated in the original text may need to be factored out for good style in the target language. Another example: if the translator needs to translate a universally understood term in the source language into a term that not everyone knows is the translation of this original term, adding a reference to the glossary can be warranted. This allows the translated message to start with '#noqa' in order to disable the warning.
2022-02-13Fix #10175: LaTeX: named footnote ref is linked to an incorrect footnoteTakeshi KOMIYA
A named footnote reference will be converted to a hyperlink to an incorrect footnote if the name is also used in the different document.
2022-02-13Merge pull request #10189 from tk0miya/https_pep_roleTakeshi KOMIYA
The latest docutils converts :pep: role to the "https" URL (again)
2022-02-13The latest docutils converts :pep: role to the "https" URL (again)Takeshi KOMIYA
docutils-0.19 (unreleased) generates "https" URL from :pep: role.
2022-02-13Merge pull request #10185 from tk0miya/10181_napoleon_use_ivar_corruptedTakeshi KOMIYA
Fix #10181: napoleon_use_ivar adds unexpected prefix to vars
2022-02-13Merge pull request #10170 from tk0miya/https_pep_roleTakeshi KOMIYA
The latest docutils converts :pep: role to the "https" URL
2022-02-11Fix #10181: napoleon_use_ivar adds unexpected prefix to varsTakeshi KOMIYA
Since 4.0, :ivar: items has not been rendered as hyperlinks. So any modules, classes and tilda are now harmful. This removes the prefixing filter for napoleon_use_ivar option. refs: #5129 and #5977
2022-02-11Merge branch '4.x' into 9529_named_footnotes_in_latexTakeshi KOMIYA
2022-02-11Merge pull request #10168 from tk0miya/9529_testcase_for_named_footnoteTakeshi KOMIYA
test: Add testcase for named footnotes
2022-02-08Revert "Close #9993: std domain: Allow to refer an inline target via ref role"Stephen Finucane
This reverts commit e3ee8b378a37958f48d97d74a5c264f1f02e153e. This is a breaking change that should not have been introduced in a minor release (or arguably at all, given the impact). Signed-off-by: Stephen Finucane <stephen@that.guru> Closes: #10177
2022-02-06The latest docutils converts :pep: role to the "https" URLTakeshi KOMIYA
docutils-0.19 (unreleased) generates "https" URL from :pep: role.
2022-02-06Merge pull request #10150 from ↵Takeshi KOMIYA
tk0miya/10146_autodoc_default_options_should_support_no-value Close #10146: autodoc: autodoc_default_options does not support `no-value` option
2022-02-06Fix #9529: LaTeX: named footnotes are converted to "?"Takeshi KOMIYA
Named auto numbered footnote (ex. ``[#named]``) that is referred multiple times was rendered to a question mark. This calls `\sphinxstepexplicit` for every footnote node that is referred multiple times.
2022-02-06test: Add testcase for named footnotesTakeshi KOMIYA
2022-02-05Merge pull request #10094 from tk0miya/9777_new_html_structure_of_du18Takeshi KOMIYA
test: Follow the new HTML structure of docutils-0.18
2022-01-30Close #10146: autodoc: autodoc_default_options does not support `no-value` ↵Takeshi KOMIYA
option
2022-01-30Merge pull request #10136 from tk0miya/10133_autodoc_mocked_moduleTakeshi KOMIYA
Fix #10133: autodoc: Crashed when mocked module is used for type annotation
2022-01-30Fix #10133: autodoc: Crashed when mocked module is used for type annotationTakeshi KOMIYA
2022-01-23Close #10125: extlinks: Improve suggestion message for a reference having titleTakeshi KOMIYA
2022-01-16intersphinx role: :external+inv:**: instead of :external:inv+**:Jakob Lykke Andersen
2022-01-16intersphinx role, hax role name to preserve caseJakob Lykke Andersen
2022-01-16intersphinx role: new inventory parsing from role nameJakob Lykke Andersen
2022-01-16intersphinx role, implement warning schemeJakob Lykke Andersen
and temporarily remove explicit inventories
2022-01-16intersphinx role, update based on merged refactoringJakob Lykke Andersen
2022-01-16intersphinx: explicitly parse out inventory specificationJakob Lykke Andersen