summaryrefslogtreecommitdiff
path: root/tests/roots/test-linkcheck
Commit message (Collapse)AuthorAgeFilesLines
* linkcheck: Use context managers for HTTP requests (#11318)James Addison2023-05-092-1/+2
| | | | | | | | This closes HTTP responses when no content reads are required, as when requests are made in streaming mode, ``requests`` doesn't know whether the caller may intend to later read content from a streamed HTTP response object and holds the socket open. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Increase timeout threshold for ``linkcheck`` tests (#11326)James Addison2023-04-211-1/+1
|
* Increase ``test_linkcheck`` timeoutsAdam Turner2023-03-241-1/+1
|
* Speed up ``test_linkcheck``Adam Turner2023-03-243-23/+14
|
* linkcheck: Check the source URL of raw directivesn-peugnet2022-08-171-0/+3
| | | | | | Add raw directives' source URL to the list of links to check with linkcheck. By the way, refactor HyperlinkCollector by adding `add_uri` function. Add test for linkcheck raw directives source URL
* test: Change URL of testcaseTakeshi KOMIYA2022-05-301-1/+1
|
* Fix #9435: linkcheck: Failed to check anchors in github.comTakeshi KOMIYA2021-07-181-2/+1
| | | | | | The approach of `rewrite_github_anchor` makes some anchors valid. But it also makes other kind of anchors invalid. This disables the handler to make them valid again (while 4.1.x release).
* Close #9016: linkcheck builder failed to check the anchors of github.comTakeshi KOMIYA2021-06-011-0/+2
|
* Merge branch '3.x'Takeshi KOMIYA2021-03-271-2/+2
|\
| * Fix the testcase for linkcheck refers removed URLsTakeshi KOMIYA2021-03-271-2/+2
| | | | | | | | | | Some public URLs are disabled now. For more details, see https://github.com/sphinx-doc/sphinx/issues/8309
* | Close #8326: Rename master_doc to root_docTakeshi KOMIYA2021-02-281-1/+1
|/ | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on.
* Close #5208: linkcheck: Support checks for local linksTakeshi KOMIYA2020-07-191-0/+2
|
* Fix #6444: test: replace example.com by existing pageTakeshi KOMIYA2019-06-051-5/+5
|
* Close #5196: linkcheck also checks remote images existTakeshi KOMIYA2019-02-061-0/+3
|
* #4886 add testsTimotheus Kampik2018-07-161-0/+2
| | | | | to better cover the current link check ignore configuration behavior
* Use sphinx-doc.org for testingTakeshi KOMIYA2016-11-061-1/+1
|
* Allow skipping anchor checking by regexDarragh Bailey2016-10-271-0/+7
| | | | | | | | | | | | | To avoid needing to turn off anchor checking across the entire documentation allow skipping based on matching the anchor against a regex. Some sites/pages use JavaScript to perform anchor assignment in a webpage, which would require rendering the page to determine whether the anchor exists. Allow fine grain control of whether the anchor is checked based on pattern matching, until such stage as the retrieved URLs can be passed through an engine for deeper checking on the HTML doctree.
* Fix #2990: linkcheck raises "Can't convert 'bytes' object to str implicitly" ↵Hiroaki Itoh2016-10-062-0/+8
error if linkcheck_anchors enabled