Thanks for your interest in contributing to L5 documentation.
Use this repository if you want to:
- Improve reference pages
- Write or edit tutorials
- Add screenshots or examples
- Improve wording, structure, or beginner explanations
If you discover a bug or have an idea for a new feature on the website you'd like to add, please begin by submitting an issue so that we can discuss it.
For contributing to the L5 library instead of the website, visit the L5 code repository.
The documentation site is built with Material for mkdocs.
- Fork this repo so that you have your own independent copy located at github.com/YOUR-USERNAME/L5-website.
- Clone your repository to your computer, with GitHub Desktop or in the command line:
git clone https://github.com/YOUR-USERNAME/L5-website.git
cd L5-website- Install dependencies
pip install mkdocs-materialIf you are working on an OS with an externally-managed python environment, you may have additional steps. For example, in Debian/Ubuntu-based systems:
sudo apt install pipx
pipx ensurepath
# then restart shell or source your config
source ~/.bashrc # or your shell config
pipx install mkdocs
pipx inject mkdocs mkdocs-materialOr in Void Linux:
sudo xbps-install -S python3-pipx
pipx install mkdocs
pipx inject mkdocs mkdocs-material- Make your edits
- Edit markdown files in the
docs/folder mkdocs.ymllists all pages in the nav
- Test locally
mkdocs serveVisit http://localhost:8000 to preview changes.
6. Commit and push to your fork
git add .
git commit -m "Description of changes"
git push origin main- Create a pull request
- On GitHub open a Pull Request from your fork to the main website repo
You do not need special permission to fork, and you do not need to create a branch in the main repository.
Most contributors work directly on the main branch of their fork.
- Don't commit the
site/folder (it's auto-generated). - Only edit files in
docs/(andmkdocs.ymlif adding a main navigation page) - The live site is automatically built by GitHub Actions when Pull Requests are merged
- main is where the site is edited
- gh-pages is built automatically through a workflow action from main. It serves the github pages site.
- gh-pages-lite is a manually-built branch holding the offline version of the website, without images, for downloading through the Offline Documentation section of the Download page.