new #156

Merged
mik-tf merged 1 commits from dev_docs into development 2024-10-23 03:58:34 +00:00
Showing only changes of commit d8aa671119 - Show all commits

View File

@ -5,6 +5,7 @@
- [Introduction](#introduction)
- [Prerequisites](#prerequisites)
- [Steps](#steps)
- [Update the Book](#update-the-book)
---
@ -90,3 +91,23 @@ Note that you will need to adjust the local path of the git repo and the docker
```
docker pull ghcr.io/scottyeager/hero:latest
```
## Update the Book
You can use [VSCodium](https://manual.grid.tf/documentation/system_administrators/computer_it_basics/git_github_basics.html#vs-codium) to update files of the Mdbook.
- Open VSCodium
- Open the directory where the repo is located, e.g.
```
cd ~/code/git.ourworld.tf/tfgrid/info_tfgrid
```
- Make changes and save the files
- Redeploy Hero Mdbook
- With a path:
```
hero mdbook -p /root/code/git.ourworld.tf/tfgrid/info_tfgrid/heroscript/tech
```
- With a URL (make sure to pull the changes with `git pull`):
```
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/tech
```