File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ channels:
4
4
dependencies :
5
5
- python=3
6
6
- conda-smithy
7
- - sphinx
7
+ - sphinx >=4.4
8
8
- cloud_sptheme
9
9
- sphinxcontrib-fulltoc
10
10
- make
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ pushd src
30
30
# -W --keep-going: list all warnings but fail build in case there are any
31
31
# -n: check validity of all links
32
32
make html SPHINXOPTS=" -W --keep-going -n"
33
+ make linkcheck
33
34
mv _build/html ../docs
34
35
rm -rf _build
35
36
popd
Original file line number Diff line number Diff line change 111
111
# If true, `todo` and `todoList` produce output, else they produce nothing.
112
112
todo_include_todos = True
113
113
114
+ # ---- Options for link validation --------
115
+
116
+ anchor_check_fps = [
117
+ r'https://conda-forge.org/status/#armosxaddition$' ,
118
+ r'https://github.com/conda-forge/conda-smithy/blob/main/CHANGELOG.rst#v3130$' ,
119
+ r'https://github.com/.*#L\d+-L\d+$' ,
120
+ r'https://github.com/conda-forge/miniforge/#download$' ,
121
+ r'https://github.com/conda-incubator/grayskull#introduction$' ,
122
+ ]
123
+
124
+ linkcheck_exclude_documents = [r'.*/minutes/.*' ]
125
+ linkcheck_ignore = [
126
+ r'https://anaconda.org/?$' , # 403 forbidden
127
+ r'https://cloudflare.com/learning/cdn/what-is-a-cdn/?$' , # 403 forbidden
128
+ r'https://gitter.im/conda-forge/core$' , # private team
129
+ ] + anchor_check_fps
130
+
114
131
115
132
# -- Options for HTML output ----------------------------------------------
116
133
You can’t perform that action at this time.
0 commit comments