aboutsummaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/pyside6/doc/conf.py.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/pyside6/doc/conf.py.in b/sources/pyside6/doc/conf.py.in
index 0e4615994..0deea6eb1 100644
--- a/sources/pyside6/doc/conf.py.in
+++ b/sources/pyside6/doc/conf.py.in
@@ -253,3 +253,10 @@ redirects = {
"gettingstarted/macOS.html": "../building_from_source/macOS.html",
"quickstart.html": "gettingstarted.html"
}
+
+# ignore relative paths when linkcheck is running
+# sphinx-build -b linkcheck -j auto -n -c <folder_of_conf.py> <folder_of_rst> <output_dir>
+linkcheck_ignore = [
+ r'^\.\./', # Ignore all paths starting with ../
+ r'^\./', # Ignore all paths starting with ./
+] \ No newline at end of file