-
-
Notifications
You must be signed in to change notification settings - Fork 201
Configuration Issues Remapping Local Relatives Paths to Routable HTTP/HTTPS Host #683
Copy link
Copy link
Closed
Labels
Description
I am late to the party re #620 and #631 feedback, but re usnistgov/OSCAL#1329 feedback, I would like to understand how to properly use the lychee configuration file and remap = [] directives to check links in a repo's Markdown files when those links are relative and they should be remapped to an external, routable HTTP/HTTPS host (in this case GitHub).
Configuration file (and current GH Action configuration): https://github.com/aj-stein-nist/OSCAL/blob/34615b9a7e2994ea014213be25836756f1564b5d/build/config/lychee_config.toml
Local error output from debugging with the configuration above:
ajs16@MYCOMPUTERNAME MINGW64 ~/code/OSCAL (1223-modularize-all-github-actions-setups-backup-lychee-config-remap-experiments)
$ lychee --config ./build/config/lychee_config.toml './**/*.md' --exclude .github
? [EXCLUDED] file:///C:/Users/ajs16/code/OSCAL/.github/workflows | Excluded
? [EXCLUDED] file:///C:/Users/ajs16/code/OSCAL/.github/CODEOWNERS | Excluded
? [EXCLUDED] file:///C:/Users/ajs16/code/OSCAL/.github/ISSUE_TEMPLATE | Excluded
? [EXCLUDED] file:///C:/Users/ajs16/code/OSCAL/.github/issue_template.md | Excluded
? [EXCLUDED] file:///C:/Users/ajs16/code/OSCAL/.github/ISSUE_TEMPLATE/question.md | Excluded
? [EXCLUDED] file:///C:/Users/ajs16/code/OSCAL/.github/ISSUE_TEMPLATE/feature_request.md | Excluded
? [EXCLUDED] file:///C:/Users/ajs16/code/OSCAL/.github/ISSUE_TEMPLATE/bug_report.md | Excluded
? [EXCLUDED] https://github.com/usnistgov/OSCAL/discussions/categories/q-a | Excluded
? [EXCLUDED] https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork | Excluded
? [EXCLUDED] https://github.com/usnistgov/OSCAL/blob/main/CONTRIBUTING.md | Excluded
? [EXCLUDED] https://github.com/usnistgov/OSCAL/pulls | Excluded
Error: Invalid path to URL conversion: projectsReactions are currently unavailable