Contributing to documentation
We use MkDocs and Github pages for the documentation site you're reading right now.
Prerequisites
Before you begin, ensure you have the following installed on your system:
- Python 3 - Required for MkDocs
- pip - Python package installer (usually comes with Python)
Check MkDocs' installation guide on how to install these dependencies.
How to get started
- Clone the
pylon-docsrepository:git clone https://github.com/pylonmc/pylon-docs - Install all required dependencies:
pip install -r requirements.txt - Run the documentation website locally using
mkdocs serve
Deploying
Only core members can deploy the website.
- Clone the
pylonmc.github.iorepository:git clone https://github.com/pylonmc/pylonmc.github.io - Deploy the site by running in the pylonmc.github.io repository
mkdocs gh-deploy --config-file ../pylon-docs/mkdocs.yml --remote-branch master