GitHub: Polygon Technical Docs
Polygon Knowledge Layer
Welcome to the Polygon Knowledge Layer!
These docs use the Material theme for MkDocs. Our goal is to establish a high-quality, curated, and comprehensive "source of truth" for Polygon's technology.
This includes sections on:
Polygon CDK
Polygon zkEVM
Polygon PoS
Polygon Miden
Developer tools
Run locally
Prerequisites
virtualenv: Install usingpip3 install virtualenv.
Setup
Clone the repository.
cdto the root.Run the
run.shscript. You may need to make the script executable:chmod +x run.sh
./run.shThe site comes up at http://127.0.0.1:8000/
Docker
If you prefer Docker, you can build and run the site using the following commands:
docker build -t polygon-docs .
docker compose upContributing
Getting started
Fork and branch: Fork the
mainbranch into your own GitHub account. Create a feature branch for your changes.Make changes: Implement your changes or additions in your feature branch.
Contribution quality: Ensure that your contributions are:
Atomic: Small, self-contained, logical updates are preferred.
Well documented: Use clear commit messages. Explain your changes in the pull request description.
Tested: Verify your changes do not break existing functionality.
Styled correctly: Follow the Microsoft Style Guide.
Creating a pull request
Pull request: Once your changes are complete, create a pull request against the main branch of Polygon Knowledge Layer.
Review process: Your pull request will be reviewed by the maintainers. They may request changes or clarifications.
Responsibility: Contributors are expected to maintain their contributions over time and update them as necessary to ensure continued accuracy and relevance.
Best practices
Stay informed: Keep up-to-date with the latest developments in Polygon technologies.
Engage with the community: Participate in discussions and provide feedback on other contributions.
Stay consistent: Ensure your contributions are coherent with the rest of the documentation and do not overlap or contradict existing content.
Contact and support
For docs issues (technical or language) open an issue here.
For technical issues with the software, either raise an issue here and we will follow up, or check https://support.polygon.technology/support/home.