File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,12 +19,14 @@ mdbook serve
1919
2020To publish the book at https://blockstream.github.io/lwk/book/
2121
22+ The site root at https://blockstream.github.io/lwk/ is handled by ` docs/index.html ` , which redirects to the book.
23+
2224```
2325git checkout gh-pages
2426git reset --hard HEAD~10
2527git rebase master
2628just mdbook
2729git add -f docs/book
2830git commit -m "docs: add book"
29- git push
31+ git push --force-with-lease
3032```
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > LWK Documentation</ title >
6+ < meta http-equiv ="refresh " content ="0; url=./book/ ">
7+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8+ < link rel ="canonical " href ="./book/ ">
9+ < script >
10+ window . location . replace ( "./book/" ) ;
11+ </ script >
12+ </ head >
13+ < body >
14+ < p > < a href ="./book/ "> Go to the LWK book</ a > .</ p >
15+ </ body >
16+ </ html >
You can’t perform that action at this time.
0 commit comments