Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.6 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.6 KB

MinGW-w64 Website

This website is written in Markdown and gets built to a static website using mkdocs and a modified version of the mkdocs-material theme. The main branch of this repo is the source branch and any new commits will auto deploy a new build to the main branch using a GitHub action. The main branch is connected to GitHub pages and is reachable under https://mingw-w64.github.io and https://www.mingw-w64.org. Changes to the source branch usually take a minute or two until they are live.

Development

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:

  • python3 -m venv _venv
  • source _venv/bin/activate
  • python -m pip install -r requirements.txt
  • python -m 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

For dependency changes:

  • poetry shell
  • poetry install
  • ...
  • poetry export --without-hashes -o requirements.txt