Skip to content

Commit d7c5d40

Browse files
authored
Merge pull request #629 from scipp/fix-links
Fix linkcheck errors
2 parents 0e1f769 + 0a7de99 commit d7c5d40

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ def do_not_plot(*args, **kwargs):
291291
r'https?://github\.com/[^/]+/[^/]+\#',
292292
# Many links for PRs from our release notes. Slow and unlikely to cause issues.
293293
'https://github.com/scipp/scipp/pull/[0-9]+',
294-
# This returns '403 Forbidden' but the link works in a browser.
295-
'https://opensource.org/licenses/BSD-3-Clause',
296-
# We get 403 Forbidden for this for some reason; works in a browser, though.
297-
'https://support.orcid.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-Identifier',
294+
# These return '403 Forbidden':
295+
r'https://opensource\.org/licenses/BSD-3-Clause',
296+
r'https://support\.orcid\.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-Identifier',
297+
r'https://www\.iucr\.org',
298298
# Linkcheck seems to be denied access by some DOI resolvers.
299299
# Since DOIs are supposed to be permanent, we don't need to check them.'
300300
r'https://doi\.org/',

docs/tutorials/1_exploring-data.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@
517517
"- Inspect and understand the HTML view of the result.\n",
518518
"- Plot the result.\n",
519519
" There are two options:\n",
520-
" - Use [Plopp's `slicer` utility](https://scipp.github.io/plopp/user-guide/plot-types/slicer-plot.html) to navigate the different layers using a slider (requires `%matplotlib widget` to enable interactive figures)\n",
520+
" - Use [Plopp's `slicer` utility](https://scipp.github.io/plopp/plotting/slicer-plot.html) to navigate the different layers using a slider (requires `%matplotlib widget` to enable interactive figures)\n",
521521
" - Use `sc.plot` after collapsing dimensions, `sc.collapse(grouped, keep='tof')`\n",
522522
"- Bonus: When grouping by straw layers, there is a different number of straws in the center layer of each tube (3 instead of 2) due to the flower-pattern arrangement of straws.\n",
523523
" Define a helper data array with data set to 1 for each spectrum (using, e.g., `norm = sc.DataArray(data=sc.ones_like(layer), coords={'layer':layer})`), group by layers and sum over spectrum as above, and use this result to normalize the layer-grouped data from above to spectrum count.\n",

0 commit comments

Comments
 (0)