Skip to content

[Bug]: ignoring stable documentation link doesn't seem to work #498

@lucaferranti

Description

@lucaferranti

Description

The .lychee.toml file seems to exclude the link to the stable documentation from the link checks, in my case

  "^https://lucaferranti.github.io/DedekindCutArithmetic.jl/stable$",

which makes sense, since I may want to have the badge and link ready in the readme before starting the registration.

That doesn't quite seem to work tough:

See https://github.com/lucaferranti/DedekindCutArithmetic.jl/actions/runs/11475868486/job/31934649608

The only thing I'm doing differently from the generated template, is that I use markdown "named links"

i.e. I have

[![Stable Documentation][stabledoc-img]][stabledoc-url]

for the badge and

- [**STABLE**][stabledoc-url]: Documentation of the latest release

and at the bottom of the file

[stabledoc-img]: https://img.shields.io/badge/docs-stable-blue.svg
[stabledoc-url]: https://lucaferranti.github.io/DedekindCutArithmetic.jl/stable/

maybe the regex cannot capture this usecase? 🤔 I am not familiar with lychee, but the ^ and $ symbols generally match only if the content is the full line, hence the link would not be ignored if inlined? 🤔

Package Version

0.13.0

Julia Version

1.11

Reproduction steps

Create a package with bestie template. In the readme, modify the links to stable version to use the format descibed in the description section above

Relevant log output

No response

Operating System

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions