How to contribute to LiGHT docs
Guidelines
To contribute, you can suggest changes and open pull requests at our GitHub repo
LiGHT-doc uses mkdocs. mkdocs is a tool that automatically build documentation from markdown files.
For full documentation visit mkdocs.org.
Project layout
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
Every markdown files are written in the docs directory.
Workflow
-
Update your relevant files in the
docsfolder -
Test your local changes by running
and accessinglocalhost:8000on your browser -
Push your changes to some branch
-
Open a pull request to the
mainbranch on GitHub -
Once the pull request is merged on
main, changes should be visible at https://light-yalepfl.github.io/LiGHT-doc/