Commit Graph

16195 Commits

Author SHA1 Message Date
Takeshi KOMIYA
d17563987a Update CHANGES for PR #8343 2020-10-27 23:55:12 +09:00
Takeshi KOMIYA
9957526256
Merge pull request #8343 from janvojt/bug/unnecessary-load-of-images-in-search
Fix unnecessary load of images when parsing the document text for search function.
2020-10-27 23:54:14 +09:00
Jan Vojt
46638bc01b Fix unnecessary load of images when parsing the document text for search function.
The issue was, that when searching, new element with all the HTML content
was created. This caused loading of all images in the background. However, in
the end, these images are stripped from search result anyway, so there is no
point in loading them.

In cases where images were included in HTML files in a different directory from
search.html, this behaviour was even causing 404 errors because of wrong relative URLs.

This commit fixes the issue by creating virtual document and using that as the owner
document of temporary meta-element used for searching and parsing purposes.
The virtual owner document causes browser to not load the images.
2020-10-27 10:44:20 +01:00
oleg.hoefling
72397f6dce
change markers list name to DEFAULT_ENABLED_MARKERS
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
2020-10-25 18:34:47 +01:00
Takeshi KOMIYA
b453be75c9 Fix #8298: sphinx-quickstart: Add :option:sphinx-quickstart --no-sep option 2020-10-26 01:12:36 +09:00
Takeshi KOMIYA
f2a31185a6 Update CHANGES for PR #8216 2020-10-26 00:59:25 +09:00
Takeshi KOMIYA
ae2e48de15
Merge pull request #8216 from glikely/fix-oneside-latex
Fix 'oneside' latex build warnings
2020-10-26 00:58:18 +09:00
oleg.hoefling
30f3ac6fe7
rename public markers to default markers
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
2020-10-25 11:44:39 +01:00
oleg.hoefling
3c3216fa40
more meaningful name for the public markers list
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
2020-10-25 11:36:40 +01:00
oleg.hoefling
35725f02d9
move registration of public markers to sphinx.testing.fixtures
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
2020-10-25 11:29:59 +01:00
Takeshi KOMIYA
ad7c09ef10 Update CHANGES for PR #8338 2020-10-25 18:59:33 +09:00
Takeshi KOMIYA
9188cba1c0
Merge pull request #8338 from mgeier/autodoc-slots-str
autodoc: check whether __slots__ is a str
2020-10-25 18:58:07 +09:00
Takeshi KOMIYA
746842f4fc Update CHANGES for PR #8323 2020-10-25 18:52:45 +09:00
Takeshi KOMIYA
eb3d9355f5
Merge pull request #8332 from sphinx-doc/8321_linkcheck_tel_links
Fix #8321: linkcheck: ``tel:`` schema hyperlinks are detected as errors
2020-10-25 18:48:50 +09:00
Takeshi KOMIYA
2118ff1419
Merge pull request #8323 from TheTripleV/patch-1
Linkcheck: Fix broken url not reporting error
2020-10-25 18:48:07 +09:00
Takeshi KOMIYA
f26569007b
Merge pull request #8334 from mgeier/doc-favicon
DOC: Add favicon
2020-10-25 18:47:30 +09:00
Matthias Geier
82c83ed478 autodoc: Add test for single-string __slots__ 2020-10-25 10:27:43 +01:00
Takeshi KOMIYA
bb6ee31232
Merge pull request #8320 from mgeier/linenos-user-select
basic CSS: disable "user-select" on span.linenos
2020-10-25 18:19:27 +09:00
Takeshi KOMIYA
e78df3a5fc
Merge pull request #8335 from jdufresne/typo
Fix docs typo: "the builder builders" → "builders"
2020-10-25 17:55:07 +09:00
Matthias Geier
da4f091c21 autodoc: check whether __slots__ is a str
Closes #8294.
2020-10-24 20:55:06 +02:00
Jon Dufresne
554bb5e9b9 Fix docs type: "the builder builders" → "builders" 2020-10-24 09:35:22 -07:00
Matthias Geier
84c6d693f4 DOC: Add favicon 2020-10-24 17:41:02 +02:00
Matthias Geier
91f5448b25 Override Pygments CSS with theme CSS 2020-10-24 15:21:31 +02:00
Matthias Geier
38a6838119 Add CHANGES for #8320 2020-10-24 15:12:58 +02:00
Matthias Geier
5a866d5e7c basic CSS: disable "user-select" on span.linenos 2020-10-24 15:10:36 +02:00
Takeshi KOMIYA
cc97a07640 Fix #7785: autodoc_typehints=none does not effect to overloads 2020-10-24 20:54:56 +09:00
Takeshi KOMIYA
3b85187ffa
Merge pull request #8289 from graingert/allow-to-suppress-duplicated-toc
Allow to suppress "duplicated toc entry" warnings from epub builder
2020-10-24 20:29:06 +09:00
Takeshi KOMIYA
6e1c78f3b4
Merge pull request #8295 from tk0miya/refactor_root
refactor: Remove rst_epilog from test-root/conf.py
2020-10-24 20:27:30 +09:00
Takeshi KOMIYA
c8f018bfd3
Merge pull request #8307 from francoisfreitag/daemon
Linkcheck: Use Thread daemon argument
2020-10-24 20:16:49 +09:00
Takeshi KOMIYA
3171a44032 Fix #8321: linkcheck: `tel:` schema hyperlinks are detected as errors 2020-10-24 20:11:23 +09:00
Jakob Lykke Andersen
eececbfe31
Merge pull request #8312 from jakobandersen/c_cpp_better_warnings
C and C++, better warnings on duplicate declarations
2020-10-24 12:46:19 +02:00
Jakob Lykke Andersen
37f1454ec1 C, C++, improve warnings on duplicates 2020-10-24 12:22:02 +02:00
Takeshi KOMIYA
071b14884c
Merge pull request #8303 from larsoner/tuple
TST: Add test
2020-10-24 17:52:22 +09:00
Takeshi KOMIYA
68753b879a
Merge pull request #8319 from felixonmars/patch-1
Correct a typo in texinfo.py
2020-10-24 17:48:16 +09:00
Takeshi KOMIYA
6b088344e9
Merge pull request #8327 from tkoyama010/patch-1
🆕 OpenFAST in EXAMPLES
2020-10-24 17:45:58 +09:00
Takeshi KOMIYA
624f693719
Merge pull request #8330 from sphinx-doc/3.2.x_to_3.x
Merge 3.2.x to 3.x
2020-10-24 17:34:11 +09:00
Takeshi KOMIYA
2a77eb07d0
Merge branch '3.x' into 3.2.x_to_3.x 2020-10-24 17:18:12 +09:00
Takeshi KOMIYA
de6c32eee6
Merge pull request #8329 from sphinx-doc/mypy-0.790
Fix mypy violations (with mypy-0.790)
2020-10-24 16:19:43 +09:00
Takeshi KOMIYA
b62f635f42 Disable testing with nightly python temporarily 2020-10-24 16:00:00 +09:00
Takeshi KOMIYA
ccc77b8305 Fix mypy violations (with mypy-0.790) 2020-10-24 14:14:11 +09:00
Jean-François B
569c7b02de
Merge branch '3.x' into fix-oneside-latex 2020-10-23 15:16:11 +02:00
Tetsuo Koyama
ed1f26ba47
🆕 OpenFAST in EXAMPLES 2020-10-22 12:11:07 +09:00
Vasista Vovveti
72985c250b
Fix broken url not reporting error
Some links are printed as broken but do not error out the build.

This issue appeared when include `tel:` links in our build.
2020-10-20 12:43:10 -05:00
Felix Yan
10335feed7
Correct a typo in texinfo.py 2020-10-18 06:36:11 +08:00
David Foster
9115aa8db0
Prevent arrow key changing page on buttons 2020-10-14 18:00:29 +01:00
Jakob Lykke Andersen
3b1c48f3b6
Merge pull request #8310 from jakobandersen/c_function_param_target
C, fix links to function parameters
2020-10-13 13:14:18 +02:00
Jakob Lykke Andersen
15251574a9 C, fix links to function parameters 2020-10-13 12:42:19 +02:00
François Freitag
55f7919531
Linkcheck: Use Thread daemon argument
Instead of using a separate call.
2020-10-11 11:41:42 +02:00
Eric Larson
d10802fa6a TST: Add test 2020-10-07 14:25:24 -04:00
Thomas Grainger
529d19ff81
wrap CHANGES at 85 cols 2020-10-05 22:12:34 +01:00