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

Link Checker Improvements #154

Open
scottyhq opened this issue Sep 1, 2021 · 0 comments
Open

Link Checker Improvements #154

scottyhq opened this issue Sep 1, 2021 · 0 comments

Comments

@scottyhq
Copy link
Member

scottyhq commented Sep 1, 2021

We currently verify all links work with a GitHub Action workflow
https://github.com/snowex-hackweek/website/blob/main/.github/workflows/qaqc.yaml#L43-L57

Often there are failures having to do with checking certificates, such as (tutorials/geospatial/SNOTEL_query: line 20008) broken https://www.wcc.nrcs.usda.gov/snow/ - HTTPSConnectionPool(host='www.wcc.nrcs.usda.gov', port=443): Max retries exceeded with url: /snow/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)')))

Despite this error, the code or link does actually work.

@jomey pointed out that sphinx has the option to disable certificate verification here https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-tls_verify , so this could be set in the jupyterbook configuration file https://jupyterbook.org/customize/config.html

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

No branches or pull requests

1 participant