File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ And we'll invest time in making sure these are easily obtainable (`brew`, `winge
4343For now you can run the tool locally through ` docker run `
4444
4545``` bash
46- docker run -v " ./.git:/app/.git" -v " ./docs:/app/docs" -v " ./.artifacts:/app/.artifacts" \
47- ghcr.io/elastic/docs-builder:edge
46+ docker run -v " ./.git:/app/.git" -v " ./docs:/app/docs" -v " ./.artifacts:/app/.artifacts" ghcr.io/elastic/docs-builder:edge
4847```
4948
5049This ensures ` .git ` /` docs ` and ` .artifacts ` (the default output directory) are mounted.
@@ -54,17 +53,15 @@ Only the changed files on subsequent runs will be compiled unless you pass `--fo
5453to force a new compilation.
5554
5655``` bash
57- docker run -v " ./.git:/app/.git" -v " ./docs:/app/docs" -v " ./.artifacts:/app/.artifacts" \
58- ghcr.io/elastic/docs-builder:edge --force
56+ docker run -v " ./.git:/app/.git" -v " ./docs:/app/docs" -v " ./.artifacts:/app/.artifacts" ghcr.io/elastic/docs-builder:edge --force
5957```
6058
6159#### Live mode
6260
6361Through the ` serve ` command you can continuously and partially compile your documentation.
6462
6563``` bash
66- docker run -v " ./.git:/app/.git" -v " ./docs:/app/docs" -v " ./.artifacts:/app/.artifacts" \
67- --expose 8080 ghcr.io/elastic/docs-builder:edge serve
64+ docker run -v " ./.git:/app/.git" -v " ./docs:/app/docs" -v " ./.artifacts:/app/.artifacts" --expose 8080 ghcr.io/elastic/docs-builder:edge serve
6865```
6966
7067Each page is compiled on demand as you browse http://localhost:8080 and is never cached so changes to files and
You can’t perform that action at this time.
0 commit comments