summaryrefslogtreecommitdiff
path: root/tests/roots/test-linkcheck
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-08-07 11:02:45 +0200
committern-peugnet <n.peugnet@free.fr>2022-08-17 14:57:58 +0200
commit1553cc3b3629debdfeef6d61b8ac01ef209a491c (patch)
tree7f98eb2dc72baff0ad727a9a1f4ee1c02acd7f2f /tests/roots/test-linkcheck
parent59056aa7816ebae81aa6842290aa7a6ece14d1bd (diff)
downloadsphinx-git-1553cc3b3629debdfeef6d61b8ac01ef209a491c.tar.gz
linkcheck: Check the source URL of raw directives
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
Diffstat (limited to 'tests/roots/test-linkcheck')
-rw-r--r--tests/roots/test-linkcheck/links.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/roots/test-linkcheck/links.txt b/tests/roots/test-linkcheck/links.txt
index 626f843f1..1d2408401 100644
--- a/tests/roots/test-linkcheck/links.txt
+++ b/tests/roots/test-linkcheck/links.txt
@@ -17,3 +17,6 @@ Some additional anchors to exercise ignore code
.. image:: https://www.google.com/image.png
.. figure:: https://www.google.com/image2.png
+
+.. raw:: html
+ :url: https://www.sphinx-doc.org/