Skip to content

Building the Website

For developers who want to contribute to the website/documentation of libigl. The website is now hosted in its own repository separate from the main libigl repository.

Simple Workflow

  1. For simple edits to the website, you can directly edit the pages online:

  2. Write your changes to the markdown file on github:

  3. Preview the modified page on github:

  4. Finally, commit the changes to a new branch/fork and let github create a pull request with your changes:

Feel free to make your changes locally, and use something like dynamic previews in VS Code to preview your changes. The files are just markdown so anything should work! For more complicated changes (e.g. to render math equations), you may want to run mkdocs to preview the final website.

Final Website Preview

For more complicated changes, you may want to preview the website locally on your machine while editing its content. You will need to run mkdocs to do this. If you want to preview the website locally on your machine, you will need to run mkdocs


python -m pip install -r requirements.txt

Render the Website

mkdocs serve


Dead links can be checked using the LinkChecker tool. Run the website locally, then run LinkChecker on it:



Doxygen documentation is generated from withing libigl source. Run

cd libigl
doxygen docs/doxygen.conf


Deployment has been automated through the use of GitHub Actions. The configuration file is located here.