Merge pull request 'new' (!156) from dev_docs into development
Reviewed-on: #156
This commit is contained in:
commit
4a8656ff94
@ -5,6 +5,7 @@
|
|||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [Prerequisites](#prerequisites)
|
- [Prerequisites](#prerequisites)
|
||||||
- [Steps](#steps)
|
- [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
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user