mirror of
https://github.com/pi-hole/docs.git
synced 2025-12-19 18:58:42 +00:00
Add deployment instructions to readme
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -9,3 +9,10 @@ sudo pip install mkdocs
|
||||
sudo pip install mkdocs-material
|
||||
mkdocs serve
|
||||
```
|
||||
|
||||
Deploying to GitHub pages:
|
||||
```
|
||||
mkdocs gh-deploy
|
||||
```
|
||||
MkDocs will build the docs and use the `ghp-import` tool to commit them to our `gh-pages` branch and also automatically push the `gh-pages` branch to GitHub.
|
||||
Warning: Be aware that you will not be able to review the built site before it is pushed to GitHub! Therefore, you **must** verify any changes you make to the docs beforehand by using the `mkdocs serve` command and reviewing the built files locally.
|
||||
|
||||
Reference in New Issue
Block a user