cpitclaudel / alectryon

A collection of tools for writing technical documents that mix Coq code and prose.
MIT License
227 stars 36 forks source link

Some links of Lean recipes in README are broken due to inconsistent naming #82

Open utensil opened 2 years ago

utensil commented 2 years ago

Some links of Lean recipes in README are broken due to inconsistent naming:

See <recipes/plain-lean4.lean>, <recipes/lean4-tactics.rst>, <recipes/lean4-tactics-myst.md> and <recipes/literate-lean4.lean> for examples.

Only the first link works, the rest are broken because the actual file names used underscores instead of hyphens.

Links in the Lean 3 section are OK as far as I've checked.

P.S. Could it be consistent whether the lean3/4 is the prefix? It's better if they are all prefix, so they are listed together in the directory.

cpitclaudel commented 2 years ago

Thanks a lot for spotting this. Could you / Would you like to prepare a PR?

utensil commented 2 years ago

Yes I can, and I guess they can be renamed to using underscore to keep consistency with other files (like the coq ones) .

P.S. lean4-tactics* are no longer there, so languages are all postfixes.