leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
89 stars 68 forks source link

Add mdbook config entries to link users to this repo #76

Closed titaniumtraveler closed 9 months ago

titaniumtraveler commented 9 months ago

Basically what the title says, there are two config options output.html.git-repository-url and output.html.edit-url-template. The first one adds a link to the repo the book is developed from and is in my opinion essential. The second one adds a link to edit the current page and would be nice to have. \ (Split into two commits for maintainer convinience.)

An example how both look like/work would be the mdBook Documentation.

gbj commented 9 months ago

Cool! I didn't know these existed and they're really helpful, thanks.