summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2019-10-14 21:28:29 +0200
committerRobert Göhler <github@ghlr.de>2019-10-14 21:28:29 +0200
commitf5f5780c2c02e62fa638fcf9cd95915de64aa9c3 (patch)
treedf55ead99df93d81cda292bcdb1ceb1d1e477f5f /README.md
parent61d3f942485704c55d0e8d9e7ac5507ee752fe6d (diff)
downloadvyos-documentation-f5f5780c2c02e62fa638fcf9cd95915de64aa9c3.tar.gz
vyos-documentation-f5f5780c2c02e62fa638fcf9cd95915de64aa9c3.zip
T1731: 1st version to test vale
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 009cdbc7..cbd37b63 100644
--- a/README.md
+++ b/README.md
@@ -58,3 +58,17 @@ docker run --rm -it -v "$(pwd):/vyos" -w /vyos/docs vyos-docu make html
docker run --rm -it -p 8000:8000 -v "$(pwd):/vyos" -w /vyos/docs vyos-docu make livehtml
```
+### Test the docs
+
+discuss in this Task: [T1731](https://phabricator.vyos.net/T1731)
+
+to test all files:
+
+```bash
+$ docker run --rm -it -v "$(pwd)":/vyos -w /vyos/docs -e GOSU_UID=$(id -u) -e GOSU_GID=$(id -g) vyos-docu vale .
+```
+
+to test a specific file e.g. clustering.rst
+```bash
+$ docker run --rm -it -v "$(pwd)":/vyos -w /vyos/docs -e GOSU_UID=$(id -u) -e GOSU_GID=$(id -g) vyos-docu vale clustering.rst
+```