rhaiscript / book

The Rhai Book.
https://rhai.rs/book
22 stars 22 forks source link

Fix link to GitHub repo. #9

Closed ArnoStiefvater closed 2 years ago

ArnoStiefvater commented 2 years ago

In README.md the link to root of the GitHub repo was resulting in 404. An alternative to https://github.com/rhaiscript/rhai would be https://github.com/rhaiscript/rhai/tree/main. I chose the former but am indifferent about it.

It also seems that rootUrl is not set properly for https://rhai.rs/book/. All of the links which link to book internal material result in 404.

schungx commented 2 years ago

Ah. Yes. It is renamed to main instead of master. Good catch.

However, I think the blob part would be needed, otherwise the external links won't work.

When I build the book, I'd be setting rootUrl to the correct value, so it should work fine. I think I just forgot during the last build. I'll update the book.

schungx commented 2 years ago

I'll close this PR and update the Book with the correct repoHome and update the site.