Add section regarding Visual Studio Code devcontainer to README.md
parent
78587413a1
commit
63813a46b0
15
README.md
15
README.md
|
@ -14,3 +14,18 @@ $ docker run --rm -v ${PWD}/docs:/src portainer/docbuilder:latest make html
|
|||
```
|
||||
|
||||
HTML files will be available under `docs/build/html` for preview.
|
||||
|
||||
## Visual Studio Code
|
||||
|
||||
You can also work directly inside the docker container used above via
|
||||
[VS Code devcontainer](https://code.visualstudio.com/docs/remote/containers).
|
||||
|
||||
Please follow the getting started guide from the link above to install and
|
||||
setup the required VS Code extensions. Once they are ready VS Code will
|
||||
inform you that it has detected a devcontainer configuration and you can
|
||||
switch your project folder into it. During startup of the devcontainer
|
||||
VS Code will build the Dockerfile of this repository, mount the project
|
||||
into the running container and finally open a terminal for you inside it.
|
||||
|
||||
Inside the devcontainer based project workspace you can then run the
|
||||
pre-defined VS Code Task "Make HTML" to build the documentation.
|
||||
|
|
Loading…
Reference in New Issue