Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
"label": "Serve Documentation",
"type": "shell",
"command": "docker run -v \"./.git:/app/.git\" -v \"./docs:/app/docs\" -v \"./.artifacts:/app/.artifacts\" --platform linux/amd64 -p 8080:8080 ghcr.io/elastic/docs-builder:edge serve",
"command": "docker run -v \"./.git:/app/.git\" -v \"./docs:/app/docs\" -v \"./.artifacts:/app/.artifacts\" --platform linux/amd64 -p 3000:3000 ghcr.io/elastic/docs-builder:edge serve",
"problemMatcher": [],
"group": {
"kind": "build",
Expand All @@ -34,4 +34,4 @@
}
},
]
}
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Then you can use the builtin build command `CMD+SHIFT+B` to build this repositor

* Incremental: does a full build initially after which it will only compile changed files on each subsequent invocation
* Full: always does a full build.
* Serve: serves the documentation in 'live' mode at http://localhost:8080.
* Serve: serves the documentation in 'live' mode at http://localhost:3000.
- All changes should be reflected on the live site without restarting.


Expand All @@ -38,5 +38,5 @@ docker run -v "./.git:/app/.git" -v "./docs:/app/docs" -v "./.artifacts:/app/.ar
### Live mode

```bash
docker run -v "./.git:/app/.git" -v "./docs:/app/docs" -v "./.artifacts:/app/.artifacts" -p 8080:8080 ghcr.io/elastic/docs-builder:edge serve
```
docker run -v "./.git:/app/.git" -v "./docs:/app/docs" -v "./.artifacts:/app/.artifacts" -p 3000:3000 ghcr.io/elastic/docs-builder:edge serve
```
Loading