Update README.md
parent
c49dec0c94
commit
cbedb1b117
31
README.md
31
README.md
|
@ -1,32 +1,5 @@
|
|||
# Portainer documentation
|
||||
|
||||
[![Documentation Status](https://readthedocs.org/projects/portainer/badge/?version=latest)](http://portainer.readthedocs.io/en/latest/?badge=latest)
|
||||
## The Portainer documentation has been moved and is now available at https://www.portainer.io/documentation/
|
||||
|
||||
Documentation is available at http://portainer.readthedocs.io/
|
||||
|
||||
# Contribute
|
||||
|
||||
After modifying the documentation files inside the `docs/source` folder, you can
|
||||
build the documentation locally to preview your changes.
|
||||
|
||||
```shell
|
||||
$ 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.
|
||||
Refer to [this link](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_run-tasks-from-the-terminal-menu) on how to run tasks in VS Code.
|
||||
This repository is now read-only.
|
||||
|
|
Loading…
Reference in New Issue