/docs

Documentation for The Graph

Primary LanguageMDXApache License 2.0Apache-2.0

The Graph Docs

This is the source code for The Graph’s documentation, accessible at https://thegraph.com/docs.

Contributing

Please read CONTRIBUTING.md. Thank you ❤️

Local Setup

This project is built on Next.js. You can run it on your machine, provided you have Node 16+ and pnpm installed.

First, clone the repo:

git clone https://github.com/graphprotocol/docs.git

Make sure you are inside the folder:

cd docs

Install the dependencies:

pnpm install

Then, run the project:

pnpm dev

That’s it! Go to http://localhost:3000 to see it in action. Any change you make to a file in pages should be refreshed automatically in your browser.