TuringLang / docs

Documentation and tutorials for the Turing language
https://turinglang.org/docs/
MIT License
229 stars 99 forks source link

Use meta variables for all doc URLs to avoid obsolete links #524

Open yebai opened 1 week ago

yebai commented 1 week ago

Let us create a Quarto meta variable for each doc page in a similar way to:

https://github.com/TuringLang/docs/blob/20209fe4bed0b6fffc7b9c3d8941dd4ce9fb0d6d/_quarto.yml#L163-L164

Usage example: https://github.com/TuringLang/docs/blob/20209fe4bed0b6fffc7b9c3d8941dd4ce9fb0d6d/404.qmd#L7

to avoid the fragility of relative URLs when renaming and moving doc pages.

beingPro007 commented 3 hours ago

Assign this to me...