Skip to content

Fix link checking #348

@jack-berg

Description

@jack-berg

I can't get lychee to stop trying check that a dummy example file reference in schema-docs.md is a valid local file:

https://github.com/open-telemetry/opentelemetry-configuration/actions/runs/18919286815/job/54010852093?pr=312#step:4:316

 Issues found in 1 input. Find details below.

[./schema-docs.md]:
Error:  file:///path/to/file.jsonl | Cannot find file: File not found. Check if file exists and path is correct

I tried adding all variations of exclusions to lycee.toml.

@codeboten @zeitlinger it looks like you all setup the lychee config in #319. Wondering if you can help.

Also, I tried running lycee locally with:

brew install mise
mise run lint:local-links

And get an error:

Checking links in file: .
dyld[13034]: Library not loaded: /opt/homebrew/opt/openssl@3/lib/libssl.3.dylib
  Referenced from: <2F244AE9-2C28-370B-9F07-7E43D0C8D425> /Users/jberg/.local/share/mise/installs/lychee/0.21.0/lychee
  Reason: tried: '/opt/homebrew/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/opt/homebrew/opt/openssl@3/lib/libssl.3.dylib' (no such file)
/Users/jberg/Library/Caches/mise/remote-http-tasks-cache/fd8ba6ca111fa22a8514840492e624f4b8f33d0d6907525c43bd5f2684a6eb91: line 13: 13034 Abort trap: 6           lychee --verbose --scheme file --include-fragments $usage_file

What is required to run locally? We should update CONTRIBUTING.md with whatever setup steps are needed.

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