1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +02:00

docs: document how to run them with docker

This commit is contained in:
Carlos Alexandro Becker
2024-12-05 14:25:38 -03:00
parent a7b8cb0a4c
commit 9ca2bd7313
2 changed files with 13 additions and 0 deletions

5
www/Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
FROM squidfunk/mkdocs-material
RUN pip install mkdocs-include-markdown-plugin
RUN pip install mkdocs-redirects
RUN pip install mkdocs-minify-plugin
RUN pip install mkdocs-rss-plugin

View File

@@ -25,6 +25,14 @@ nix develop .#docs
To drop into a shell with all the needed dependencies.
### With Docker
```bash
cd ./www
docker build -t material-mkdocs
docker run --rm -it -p 8000:8000 -v .:/docs material
```
## Edit the docs
After installing mkdocs and extensions, build and run the documentation locally: