Electric-Coin-Company / tfl-book

A Trailing Finality Layer book for a proposed Zcash protocol change.
MIT License
5 stars 2 forks source link

Running `mdbook clean` removes the whole local repo contents :sob: #112

Closed daira closed 8 months ago

daira commented 8 months ago

This is a pretty impressive footgun!

Do you recommend a solution?

This behaviour is a regression due to changing the build directory to . in #104. We could try a different solution to that issue, for example building under a build/ directory and then moving build/html/ to docs/. In order for the same path to work locally, we can symlink docs -> build/html and then replace the symlink in CI (i.e. rm docs; mv build/html/ docs).