Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation: switch all hyperlinks in the documentation to https:// #15674

Merged
merged 5 commits into from Jul 7, 2023

Conversation

tamiko
Copy link
Member

@tamiko tamiko commented Jul 7, 2023

It is 2023... This pull request switches all external urls from http:// over to https://. Otherwise, modern browsers will complain loudly about our website...

Note that some (for example most in the doc/news/ subdirectory) are probably dead links. But let's convert them nevertheless. It's better if a browser fails at trying to establish a secure connection than an insecure one and fail afterwards with an http 404.

@tamiko tamiko marked this pull request as draft July 7, 2023 04:05
@tamiko tamiko marked this pull request as ready for review July 7, 2023 04:05
@bangerth bangerth merged commit 389d243 into dealii:master Jul 7, 2023
11 of 15 checks passed
@bangerth
Copy link
Member

bangerth commented Jul 7, 2023

Is there a way to determine automatically which links are dead?

@tamiko
Copy link
Member Author

tamiko commented Jul 7, 2023

@bangerth Something like this?

cd doc && grep -ohRP "https://[-a-zA-Z0-9@:%_\+.~#?&\/=]*" | while read -r url; do curl --silent --head --fail --output /dev/null "$url" || echo "Potentially broken: $url"; done
Potentially broken: https://github.com/gentoo/sci/blob/master/sci-libs/dealii/dealii-9.1.0.ebuild
Potentially broken: https://www.dealii.org/publications.html#details
Potentially broken: https://www.dealii.org/current/doxygen/
Potentially broken: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/
Potentially broken: https://epubs.siam.org/doi/10.1137/16M110455X
Potentially broken: https://doi.org/10.1016/S0045-7825
Potentially broken: https://doi.org/10.1016/s0045-7825
Potentially broken: https://doi.org/10.1016/S0168-9274
Potentially broken: https://doi.org/10.1016/0045-7825
Potentially broken: https://doi.org/10.1016/s0301-9322
Potentially broken: https://doi.org/10.1016/0020-7683
Potentially broken: https://epubs.siam.org/doi/abs/10.1137/1.9781611971200
Potentially broken: https://www.sciencedirect.com/science/article/pii/S0021999121006148
Potentially broken: https://academic.oup.com/imajna/article/43/2/627/6517084
Potentially broken: https://doi.org/10.1016/S0168-9274
Potentially broken: https://doi.org/10.1016/S0045-7825
Potentially broken: https://doi.org/10.1016/S0045-7825
Potentially broken: https://doi.org/10.1002/
Potentially broken: https://doi.org/10.1016/0020-7683
Potentially broken: https://doi.org/10.1016/0045-7930
Potentially broken: https://doi.org/10.1016/0377-0427
Potentially broken: https://ginkgo-project.github.io/ginkgo/doc/develop/index.html
Potentially broken: https://muparser.beltoforion.de/
Potentially broken: https://computation.llnl.gov/projects/sundials
Potentially broken: https://www.dealii.org/9.5.0/doxygen/deal.tag
Potentially broken: https://www.dealii.org/8.5.0/doxygen/deal.tag
Potentially broken: https://www.dealii.org/X.Y.Z/doxygen/deal.II
Potentially broken: https://validator.w3.org/check?uri=referer
Potentially broken: https://jigsaw.w3.org/css-validator/check/referer

Might contain some false positives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants