mlx/docs
Anastasiia Filippova 9392fc3f88
NCCL backend (#2476)
2025-08-21 11:56:15 -07:00
..
src NCCL backend (#2476) 2025-08-21 11:56:15 -07:00
.clang-format
.gitignore
.nojekyll
Doxyfile fix docs (#1991) 2025-03-21 19:58:53 -07:00
index.html
Makefile
README.md
requirements.txt make code blocks copyable (#2480) 2025-08-12 12:29:02 -07:00

Build the Docs

Setup (do once)

Install Doxygen:

brew install doxygen

Install Python packages:

pip install -r requirements.txt

Build

Build the docs from mlx/docs/

doxygen && make html

View the docs by running a server in mlx/docs/build/html/:

python -m http.server <port>

and point your browser to http://localhost:<port>.

Push to GitHub Pages

Check-out the gh-pages branch (git switch gh-pages) and build the docs. Then force add the build/html directory:

git add -f build/html

Commit and push the changes to the gh-pages branch.