gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + Gno.land: a blockchain for timeless code and fair open-source
https://gno.land/
Other
849 stars 345 forks source link

[DOCS] Replace relative paths to documents #1354

Closed zivkovicmilos closed 7 months ago

zivkovicmilos commented 8 months ago

Description

Suggested in https://github.com/gnolang/gno/pull/1351#discussion_r1388750616.

Currently, throughout the documentation relative paths to different documents are used. We should instead switch to using absolute paths, since relative paths are prone to errors during docs development.

thehowl commented 8 months ago

How do you make the links work the same if you view the docs on GH or on the docs website, if you have absolute paths?

zivkovicmilos commented 8 months ago

@thehowl

I should clarify here that absolute in this context is /docs/, not the actual URL path of the document. Docusaurus knows how to resolve these things based on the config, and it just looks cleaner inside the MD

leohhhn commented 7 months ago

Scrapped this effort because it is not docs framework agnostic.