* start of C++ docs

* fix stream doc

* only include ops for now
This commit is contained in:
Awni Hannun
2024-04-26 12:56:05 -07:00
committed by GitHub
parent 82463e9938
commit 5bfe89bdb1
9 changed files with 87 additions and 20 deletions

View File

@@ -2,12 +2,16 @@
### Setup (do once)
Install [sphinx](https://www.sphinx-doc.org/en/master/usage/installation.html)
for example with `conda`:
Install Doxygen:
```
conda install sphinx
pip install sphinx-book-theme
brew install doxygen
```
Install Python packages:
```
pip install -r requirements.txt
```
### Build
@@ -15,7 +19,7 @@ pip install sphinx-book-theme
Build the docs from `mlx/docs/`
```
make html
doxygen && make html
```
View the docs by running a server in `mlx/docs/build/html/`: