1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

DOCS: Add page for how to maintain docs (#1780)

This commit is contained in:
Tom Limoncelli
2022-10-28 15:14:28 -04:00
committed by GitHub
parent fd42485d7d
commit ffdb4b6271
4 changed files with 55 additions and 4 deletions

View File

@@ -184,6 +184,11 @@ The documentation can be viewed via Docker:
```bash
cd docs
./runDocker.sh
```
FYI: Alternative Docker command:
```bash
docker run --rm -it --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" --env JEKYLL_ENV=production jekyll/jekyll:3.8 jekyll build -V
# Open docs/_site/index.html in your web browser to see the results.
# (Note: The preview isn't perfect. Links that use the site.github.url variable won't work.