From e863fd965dd6253243c3342bd6f0adc4fc8aec4d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 13:31:33 +0200 Subject: Adding upstream version 5.3.0. Signed-off-by: Daniel Baumann --- tests/roots/test-linkcheck/conf.py | 4 ++++ tests/roots/test-linkcheck/links.txt | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tests/roots/test-linkcheck/conf.py create mode 100644 tests/roots/test-linkcheck/links.txt (limited to 'tests/roots/test-linkcheck') diff --git a/tests/roots/test-linkcheck/conf.py b/tests/roots/test-linkcheck/conf.py new file mode 100644 index 0000000..ac54f73 --- /dev/null +++ b/tests/roots/test-linkcheck/conf.py @@ -0,0 +1,4 @@ +root_doc = 'links' +source_suffix = '.txt' +exclude_patterns = ['_build'] +linkcheck_anchors = True diff --git a/tests/roots/test-linkcheck/links.txt b/tests/roots/test-linkcheck/links.txt new file mode 100644 index 0000000..1d24084 --- /dev/null +++ b/tests/roots/test-linkcheck/links.txt @@ -0,0 +1,22 @@ +This is from CPython documentation. + +* Also, if there is a `default namespace `__, that full URI gets prepended to all of the non-prefixed tags. + +* The URL having anchor: `https://www.sphinx-doc.org/en/master/usage/installation.html#overview`_ + +Some additional anchors to exercise ignore code + +* `Example Bar invalid `_ +* `Example Bar invalid `_ tests that default ignore anchor of #! does not need to be prefixed with / +* `Example Bar invalid `_ +* `Example anchor invalid `_ +* `Complete nonsense `_ +* `Example valid local file `_ +* `Example invalid local file `_ +* https://github.com/sphinx-doc/sphinx/blob/master/sphinx/__init__.py#L2 + +.. image:: https://www.google.com/image.png +.. figure:: https://www.google.com/image2.png + +.. raw:: html + :url: https://www.sphinx-doc.org/ -- cgit v1.2.3