Commit Graph

18635 Commits

Author SHA1 Message Date
Takeshi KOMIYA
54159f66d3
Merge pull request #10099 from mgeier/skip-data-uris
Skip "data:" URIs in ImageConverter
2022-01-15 14:21:08 +09:00
Matthias Geier
a73df1e0f2 Skip "data:" URIs in ImageConverter 2022-01-13 20:15:31 +01:00
Takeshi KOMIYA
8ba20898b4 Update CHANGES for PR #9551 2022-01-14 02:56:47 +09:00
Takeshi KOMIYA
3b494b0ef8
Merge pull request #9551 from mgeier/remove-highlight-param
"Hide Search Matches" removes "highlight" parameter from URL
2022-01-14 02:55:57 +09:00
Takeshi KOMIYA
ce6803a186
Merge pull request #10095 from sphinx-doc/dependabot/npm_and_yarn/follow-redirects-1.14.7
Bump follow-redirects from 1.7.0 to 1.14.7
2022-01-13 18:45:34 +09:00
dependabot[bot]
811230d94b
Bump follow-redirects from 1.7.0 to 1.14.7
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.7.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.7.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 04:40:53 +00:00
Takeshi KOMIYA
49196d4474 Update CHANGES for PR #10091 2022-01-13 01:40:59 +09:00
Takeshi KOMIYA
14821a9777
Merge pull request #10091 from Jean-Abou-Samra/sorted-glossary
In translated docs, sort glossaries by translated terms
2022-01-13 01:39:14 +09:00
Jean Abou Samra
0269bec1ed In translated docs, sort glossaries by translated terms
This is done by moving the sorting from the glossary directive to a
transform operating after the i18n transform.

Closes #9827
2022-01-12 16:47:40 +01:00
Takeshi KOMIYA
3ed92651d5
Merge pull request #10068 from tk0miya/10057_scanning_docs_on_root
Fix #10057: Failed to scan documents on the root directory
2022-01-12 02:42:08 +09:00
Takeshi KOMIYA
9a42e42a40
Merge pull request #10069 from tk0miya/10055_ensuredir_for_warnfile
Close #10055: sphinx-build: Create directories when `-w` option given
2022-01-12 02:35:15 +09:00
Takeshi KOMIYA
99c144d8cd
Merge pull request #10079 from tk0miya/10061_confval_added_by_themes_not_initialized
Fix #10061: html theme: Confvals added by themes are not initialized
2022-01-12 02:34:52 +09:00
Takeshi KOMIYA
2b784e23d8
Merge pull request #10080 from danieleades/refactor/simplify-set-comparison
simplify some set comparisons (SIM109)
2022-01-12 02:34:21 +09:00
Takeshi KOMIYA
726f2eaa97
Merge pull request #10085 from tk0miya/10058_autodoc_class_signature_misleads_autosummary
Fix #10058: autosummary: Imported members are not shown
2022-01-12 02:32:10 +09:00
Daniel Eades
e51591d061 simplify some set comparisons (SIM109) 2022-01-10 19:56:30 +00:00
Takeshi KOMIYA
e79681c768
Merge pull request #10081 from danieleades/refactor/callable-test
use 'callable' to check if object is callable (B004)
2022-01-11 02:32:17 +09:00
Takeshi KOMIYA
b5f4d2d883
Merge pull request #10083 from danieleades/refactor/named-tuples
use class-style syntax for 'NamedTuple's
2022-01-11 02:29:03 +09:00
Philipp A
547f0a2d02 Fix typing in docfields.py 2022-01-11 02:28:27 +09:00
Takeshi KOMIYA
7f0166780f Fix #10058: autosummary: Imported members are not shown
Originally, the `check_module()` call was added at 21b8384 to hide
imported members on generating stubs.  But it was incorrect approach.
Therefore it was disabled by b433197 and fixed the original issue by
another approach at 2390c554.

Finally, the `check_module()` call becomes meaningless code.  But, at
present, it causes that imported members are not shown when
`autodoc_class_signature` is 'separated'.  To resolve the problem, this
removes the meaningless call.
2022-01-11 02:18:29 +09:00
Daniel Eades
574e787bf1 use class-style syntax for 'NamedTuple's 2022-01-10 15:35:27 +00:00
Daniel Eades
61ff90460d use 'callable' to check if object is callable (B004) 2022-01-10 13:51:35 +00:00
Takeshi KOMIYA
2a3ea2e490 Fix #10061: html theme: Confvals added by themes are not initialized 2022-01-10 19:04:44 +09:00
Takeshi KOMIYA
72d352f64e
Merge pull request #10075 from danieleades/refactor/merge-isinstance-calls
merge 'isinstance' calls (SIM101)
2022-01-10 16:37:55 +09:00
Daniel Eades
3a3c03a045 merge 'isinstance' calls (SIM101) 2022-01-10 07:08:56 +00:00
Takeshi KOMIYA
5bf0e3ad18
Merge pull request #10071 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-01-09 12:55:28 +09:00
tk0miya
eb13171afe Update message catalogs 2022-01-09 00:12:45 +00:00
Takeshi KOMIYA
ce41a5e3f0 Close #10055: sphinx-build: Create directories when -w option given 2022-01-09 04:04:31 +09:00
Takeshi KOMIYA
ce99cd4832 Fix #10057: Failed to scan documents on the root directory
get_matching_files() incorrectly drops the first character of each
path on scanning documents.  It will help users to exclude paths
via exclude_patterns setting.

Note: Users need to configure `exclude_patterns` to put their document
on the root directory.  This does not help to avoid recursive symlinks
(ex. /proc, /sys)
2022-01-09 03:57:55 +09:00
Takeshi KOMIYA
87eda92a52
Merge pull request #10066 from tk0miya/mypy-0.931-4.x
Fix mypy violations (with mypy-0.931)
2022-01-09 01:19:36 +09:00
Takeshi KOMIYA
9db86f6aab Fix mypy violations (with mypy-0.931) 2022-01-09 01:11:22 +09:00
Takeshi KOMIYA
441c2e306a Merge branch '4.3.x' into 4.x 2022-01-09 01:08:08 +09:00
Takeshi KOMIYA
c81dd9b82f
Merge pull request #10065 from tk0miya/mypy-0.931
Fix mypy violations (with mypy-0.931)
2022-01-09 01:07:56 +09:00
Takeshi KOMIYA
a80023f381 Fix mypy violations (with types-requests-2.27.3) 2022-01-09 00:59:32 +09:00
Takeshi KOMIYA
a98b605100 Fix mypy violations (with mypy-0.931) 2022-01-09 00:54:35 +09:00
Takeshi KOMIYA
356b397928
Merge pull request #10064 from tk0miya/du-latest
CI: refactor tox.ini; Install HEAD of docutils directly
2022-01-09 00:44:05 +09:00
Takeshi KOMIYA
ab5b8dc9ee CI: refactor tox.ini; Install HEAD of docutils directly 2022-01-08 22:57:31 +09:00
Takeshi KOMIYA
6402acde81
Merge pull request #10051 from tk0miya/9777_quotes_in_manpage
test: manpage: double quotes are escaped since docutils-0.18
2022-01-03 12:16:28 +09:00
Takeshi KOMIYA
3d5ddb68ee
Merge pull request #10050 from tk0miya/9777_Node.findall
test: Migrate to Node.findall() from Node.traverse()
2022-01-03 12:16:05 +09:00
Takeshi KOMIYA
d1a070efd8 test: manpage: double quotes are escaped since docutils-0.18
Double quotes are escaped to `\(dq` on manpage output since
docutils-0.18.
2022-01-03 02:01:46 +09:00
Takeshi KOMIYA
a0e44a7300 test: Migrate to Node.findall() from Node.traverse() 2022-01-03 01:06:20 +09:00
Takeshi KOMIYA
08a87d945a
Merge pull request #10044 from tk0miya/9777_Node.findall
Migrate to Node.findall() from Node.traverse()
2022-01-03 00:57:31 +09:00
Takeshi KOMIYA
05a898ecb4 Migrate to Node.findall() from Node.traverse()
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.
2022-01-03 00:35:29 +09:00
Takeshi KOMIYA
a091917219
Merge pull request #10047 from tk0miya/refactor_PYTHONWARNINGS_filters
CI: Remove unused no longer needed PYTHONWARNINGS
2022-01-02 18:20:38 +09:00
Takeshi KOMIYA
c16b36c499 CI: Remove unused no longer needed PYTHONWARNINGS 2022-01-02 15:03:20 +09:00
Takeshi KOMIYA
daf57f2488
Merge pull request #10043 from tk0miya/9777_docutils.nodes.meta
i18n: meta strings are not translated with docutils-0.18
2022-01-02 12:24:59 +09:00
Takeshi KOMIYA
6a6a4b5800 i18n: meta strings are not translated with docutils-0.18
i18n feature for meta strings does not work if docutils-0.18 used.

Note: Since docutils-0.18, patch for meta directive is no longer
needed because it uses a picklable meta nodes; ``docutils.nodes.meta``.
2022-01-02 12:11:08 +09:00
Takeshi KOMIYA
e434dd6998
Merge pull request #10042 from tk0miya/9820_distutils
refactor: Reduce usages of distutils (refs: #9820)
2022-01-02 12:08:49 +09:00
Takeshi KOMIYA
f4f7341db2
Merge pull request #10045 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-01-02 11:40:50 +09:00
Takeshi KOMIYA
e1c090d9f7
Merge pull request #10034 from tk0miya/10027_autodoc_typehints_format_for_bases
Fix #10027: autodoc_typehints_format does not work with :show-inheritance:
2022-01-02 11:39:22 +09:00
tk0miya
42d7351fda Update message catalogs 2022-01-02 00:12:37 +00:00