Skip to content

Link Checker Improvements #154

@scottyhq

Description

@scottyhq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions