added info to display book on browser
This commit is contained in:
parent
2a24288f09
commit
cb563f89bc
@ -108,9 +108,9 @@ hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/herosc
|
||||
|
||||
> Note: In both cases, make sure to replace **bookname** by the name of your book, e.g. test.
|
||||
|
||||
To see the mdbook online on a local browser (via the file **index.html**), run the following command and open a browser with the URL **localhost:5173**:
|
||||
To see the mdbook online on a local browser (via the file **index.html**), run the following command and open a browser with the URL **localhost:5173**. Make sure to replace `<book_name>` with the name of the book.
|
||||
```
|
||||
pushd /root/hero/www/info/tfgrid/; python3 -m http.server 5173; popd;
|
||||
pushd /root/hero/www/info/<book_name>/; python3 -m http.server 5173; popd;
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
Loading…
Reference in New Issue
Block a user