Skip to content

Commit

Permalink
docs: add page on editing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed May 1, 2021
1 parent f200bfa commit ec2de54
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# package caches
/node_modules
/vendor
/.venv/

# built assets
/public/css/
Expand Down
3 changes: 3 additions & 0 deletions docs/development/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nav:
- quick-start.md
- ...
27 changes: 27 additions & 0 deletions docs/development/docs.md
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/>

0 comments on commit ec2de54

Please sign in to comment.