Fix formatting errors in readme

This commit is contained in:
Ethan Paul 2019-08-27 23:32:11 -04:00
parent bb15a5a222
commit 5b27dacf29

View File

@ -1,48 +1,40 @@
# omni-docs # omni-docs
ENP.One system and infrastructure documentation, using [MkDocs](https://www.mkdocs.org/) ENP.One system and infrastructure documentation, written using [MkDocs](https://www.mkdocs.org/)
## Building * [building](#building)
* [editing](#editing)
## building
1. Install [Pipenv](https://docs.pipenv.org/en/latest/) 1. Install [Pipenv](https://docs.pipenv.org/en/latest/)
```shell
pip install pipenv --user
```
2. Synchronize environment 2. Synchronize environment
```shell
pipenv sync
```
3. Build documentation 3. Build documentation
```shell ```shell
pipenv run mkdocs build # Install pipenv
``` pip install pipenv --user
# Synchronize
pipenv sync
# Build docs
pipenv run mkdocs build
```
Built docs are now located in `site/` and can be served as static HTML. See [MkDocs deployment](https://www.mkdocs.org/#deploying) The docs are now located in the `site/` directory and can be served as static HTML. See [MkDocs deployment](https://www.mkdocs.org/#deploying)
## Editing/Developing ## editing
1. Install [Pipenv](https://docs.pipenv.org/en/latest/) 1. Install [Pipenv](https://docs.pipenv.org/en/latest/)
```shell
pip install pipenv --user
```
2. Synchronize environment, with development dependencies 2. Synchronize environment, with development dependencies
```shell
pipenv sync --dev
```
3. Run development server 3. Run development server
```shell ```shell
pipenv run mkdocs serve # Install pipenv
``` pip install pipenv --user
# Synchronize, with dev deps
4. Edit away! pipenv sync --dev
# Run dev server
pipenv run mkdocs serve
```
The development server is available at http://localhost:8000 and will automatically refresh with any changes made to the local files.