added steps to hero docs mdbook

This commit is contained in:
mik-tf 2024-03-27 19:08:46 +00:00
parent 8b5a65ea96
commit 2a24288f09

View File

@ -92,11 +92,15 @@ bash /tmp/build_hero.sh
## Use Hero to Generate mdbooks ## Use Hero to Generate mdbooks
- You can download the repository. - Download the repository
``` ```
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/bookname -gp hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/bookname -gp
``` ```
- To open the mdbook on your local browser: - Build the book
```
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/bookname
```
- Open the mdbook on your local browser:
``` ```
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/bookname -o hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/bookname -o