From e2b2be252ea68284a45eef6d1c2049d80ff8eaca Mon Sep 17 00:00:00 2001 From: mik-tf Date: Mon, 29 Apr 2024 13:28:14 +0000 Subject: [PATCH] updated docker hero docs --- docs/hero_mdbook_docker.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/hero_mdbook_docker.md b/docs/hero_mdbook_docker.md index 88c75cf..f5e9045 100644 --- a/docs/hero_mdbook_docker.md +++ b/docs/hero_mdbook_docker.md @@ -41,10 +41,16 @@ Note that you will need to adjust the local path of the git repo and the docker ``` git config --global --add safe.directory /root/code/git.ourworld.tf/tfgrid/info_tfgrid ``` -- You can now use hero normally, e.g. with **projectinca**: - ``` - hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/projectinca -gp - ``` +- You can now use Hero normally, e.g. with **projectinca** + - With a URL: + ``` + hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/projectinca + ``` + - With a path: + ``` + hero mdbook -p /root/code/git.ourworld.tf/tfgrid/info_tfgrid/heroscript/projectinca + ``` + - In this case, you can modify the mdbook on the local machine's git repo that you set in the prerequisites section and the changes will be shown on the docker path - To view the mdbook on your local browser, run the lines: ``` cd ~/hero/var/mdbuild/projectinca/