lustre-labs / lustre

An Elm-inspired framework for building HTML templates, single page applications, and server-rendered components in Gleam!
https://hexdocs.pm/lustre
MIT License
727 stars 52 forks source link

Documentation links broken #106

Closed jalandis closed 2 months ago

jalandis commented 2 months ago

While reviewing the documentation I noticed a few links are broken.

//// The `Effect` type here encompasses things like HTTP requests and other kinds
//// of communication with the "outside world". You can read more about effects
//// and their purpose in the [`effect`](./effect) module.

https://github.com/lustre-labs/lustre/blob/main/src/lustre.gleam#L81

It seems like the .html extension is required or else your dropped on a 404 page. There may be a few other cases of this in the Gleam and Lustre projects also.

Happy to create a PR with the missing extension added if that is helpful.

hayleigh-dot-dev commented 2 months ago

Hey thanks for letting me know! I've gone through and fixed all the ones I could find, if you run into any more please let me know (or fix them ❤️) it's really frustrating hex doesn't handle this but perhaps I'm just lazy ^.^

thanks again!