MCPcopy Index your code
hub / github.com/0xPolygon/polygon-docs-old

github.com/0xPolygon/polygon-docs-old @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
12 symbols 31 edges 5 files 8 documented · 67%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

  1. Python 3.12.
  2. virtualenv: Install using pip3 install virtualenv.

Setup

  1. Clone the repository.
  2. cd to the root.
  3. Run the run.sh script. You may need to make the script executable: chmod +x run.sh
./run.sh

The 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 up

Contributing

Getting started

  1. Fork and branch: Fork the main branch into your own GitHub account. Create a feature branch for your changes.
  2. Make changes: Implement your changes or additions in your feature branch.
  3. Contribution quality: Ensure that your contributions are:
  4. Atomic: Small, self-contained, logical updates are preferred.
  5. Well documented: Use clear commit messages. Explain your changes in the pull request description.
  6. Tested: Verify your changes do not break existing functionality.
  7. Styled correctly: Follow the Microsoft Style Guide.

Creating a pull request

  1. Pull request: Once your changes are complete, create a pull request against the main branch of Polygon Knowledge Layer.
  2. Review process: Your pull request will be reviewed by the maintainers. They may request changes or clarifications.
  3. 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.

Core symbols most depended-on inside this repo

clone_data_to_branch_folder
called by 2
build_branches.py
parse_args
called by 1
build_branches.py
install_mkdocs_with_pipenv
called by 1
build_branches.py
copy_folder
called by 1
build_branches.py
delete_folders
called by 1
build_branches.py
update_pr_description
called by 1
build_branches.py
process_branch_folders
called by 1
build_branches.py
update_nginx_config
called by 1
build_branches.py

Shape

Function 12

Languages

Python83%
TypeScript17%

Modules by API surface

build_branches.py8 symbols
docs/_site_essentials/js/init_chef_ai.js2 symbols
scripts/toc-script.py1 symbols
docs/toc.py1 symbols

For agents

$ claude mcp add polygon-docs-old \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact