a-b-street / docs

Technical and user documentation for A/B Street
Apache License 2.0
12 stars 7 forks source link

Add edit button #13

Closed Robinlovelace closed 3 years ago

Robinlovelace commented 3 years ago

Inspiration: https://github.com/rust-lang/mdBook/blob/master/guide/book.toml#L14

Robinlovelace commented 3 years ago

After the commit above I now see this :tada:

image

michaelkirk commented 3 years ago

Nice!

dabreegster commented 3 years ago

Hrmm the edit button isn't showing up on the live site. https://a-b-street.github.io/docs/software/index.html

I tried adding site-url = /docs/, but although it works when serving locally, not when deployed...

michaelkirk commented 3 years ago

It works for me when running locally.

One thing I noticed from the actions log which builds the site:

mdbook version: 0.3.7

Whereas locally I have a newer version:

$ mdbook --version
mdbook v0.4.10
Robinlovelace commented 3 years ago

Looking good!

image