added info to display book on browser

This commit is contained in:
mik-tf 2024-03-29 17:58:09 +00:00
parent 2a24288f09
commit cb563f89bc

View File

@ -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