docs: fix README.md (#33142)

* md

* Update README.md

* rename

* exclude

* Update README.md
old-commit-hash: 086dcfe715985447fa33f120d16a496309718ba2
This commit is contained in:
Maxime Desroches
2024-07-30 13:57:42 -07:00
committed by GitHub
parent 6c1d7358f0
commit b03f4f9b48
2 changed files with 15 additions and 9 deletions

26
docs/README.md Normal file
View File

@@ -0,0 +1,26 @@
# openpilot docs
This is the source for [docs.comma.ai](https://docs.comma.ai).
The site is updated on pushes to master by this [workflow](../.github/workflows/docs.yaml).
## Development
NOTE: Those commands must be run in the root directory of openpilot, **not /docs**
**1. Install the docs dependencies**
``` bash
pip install .[docs]
```
**2. Build the new site**
``` bash
mkdocs build
```
**3. Run the new site locally**
``` bash
mkdocs serve
```
References:
* https://www.mkdocs.org/getting-started/
* https://github.com/ntno/mkdocs-terminal