-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f200bfa
commit ec2de54
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# package caches | ||
/node_modules | ||
/vendor | ||
/.venv/ | ||
|
||
# built assets | ||
/public/css/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nav: | ||
- quick-start.md | ||
- ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Documentation | ||
|
||
## Working with live preview | ||
|
||
- Install Chef Habitat | ||
- Install Habitat packages: | ||
|
||
```bash | ||
sudo hab pkg install jarvus/mkdocs | ||
``` | ||
|
||
- Create python environment: | ||
|
||
```bash | ||
hab pkg exec jarvus/mkdocs python -m venv "./.venv" | ||
source "./.venv/bin/activate" | ||
pip install --upgrade pip | ||
pip install mkdocs mkdocs-material mkdocs-awesome-pages-plugin fontawesome_markdown | ||
``` | ||
|
||
- Launch live preview server: | ||
|
||
```bash | ||
mkdocs serve | ||
``` | ||
|
||
- Open <http://localhost:8000/> |