This website is written in Markdown and gets built to a static website using
mkdocs and a modified version of the mkdocs-material
theme. Any new commits to the
main
branch will auto deploy to GitHub pages using
a GitHub action. The resulting
website is reachable under https://msys2.github.io and https://www.msys2.org.
Changes to the main
branch usually take a minute or two until they are live.
For small changes:
- Just use the online editor on GitHub and use the Markdown preview to inspect your changes
- Open a PR with your changes in case you don't have commit rights
- Note: The Markdown dialect and extensions understood by mkdocs and GitHub is slightly different, so double check that the deployed website matches what you expected
- Note: Every page on the website has a small "edit" icon in the top right corner which leads you straight to the online editor for that page
For larger changes:
poetry install
poetry run mkdocs serve
- Access http://127.0.0.1:8000 - any changes to the sources should be immediately visible in your browser
- Open a PR with your changes or just push them if you have commit rights
Run ./linkcheck.sh
to check for broken links. This script uses
lychee and requires Docker to be
installed.