hero docs added info on building updated book

This commit is contained in:
mik-tf 2024-04-17 15:24:28 +00:00
parent 30ed739b05
commit ea34074571

View File

@ -165,10 +165,13 @@ git push
## Generating the mdbook from a Remote Repository ## Generating the mdbook from a Remote Repository
Once the changes are uploaded to the remote repository, you will be able to build and open the new mdbook using the remote repository URL: Once the changes are uploaded to the remote repository, you will be able to update the local repository and build the new mdbook using the remote repository URL:
- Update the repository
``` ```
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/new_mdbook -gr hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/new_mdbook -gr
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/new_mdbook ```
- Build the book
```
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/new_mdbook -o hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/new_mdbook -o
``` ```