This repository contains community-maintained documentation and guides for various GraphQL Foundation processes and programs. Contributions are very welcome, and should follow the Contributing Handbook!
docs/contributing— Contributing to GraphQL Foundation projects via GitHub.docs/wg— Meeting participation and facilitation guides.docs/ambassadors— Expectations, enablement, and standards for GraphQL Ambassadors.docs/social-media— Campaign workflows and brand guidelines for the social team.docs/locals— Launching and scaling local GraphQL communities.docs/grants— Community grant preparation and reporting.docs/tsc— Technical Steering Committee processes.
Each page should start with an outline of the target audience for the article, enabling readers to skip articles that do not match their current goals.
- Ensure you have Node.js 22+ installed (e.g. with
nvm install 22) - Ensure you have
yarninstalled (e.g. withnpm install -g yarn) - Check out the repository (e.g. with
git checkout https://github.com/graphql/handbooks) - Change into that repository (e.g.
cd handbooks) - Install the dependencies with
yarn
yarnyarn startThis command runs the development server. The site will reload as you edit files.
yarn buildThe static assets are output to the build directory and can be served by any
static hosting platform. Test it locally:
yarn serve- Update site metadata in
docusaurus.config.ts(url, navigation, footer). - Manage sidebar structure in
sidebars.ts. - Customize styling in
src/css/custom.css.
This project uses Prettier to keep Markdown, MDX, and source files wrapped to a consistent line length.
-
Format files automatically:
yarn format
-
Check formatting without applying changes:
yarn format:check
If you use VS Code, install the “Prettier – Code formatter” extension and add
the following to .vscode/settings.json to format on save:
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[mdx]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}- Fork the repository.
- Check out your fork.
- Create a new branch.
- Make your updates.
- Run
yarn formatto fix formatting. - Run
yarn buildto verify the site compiles. - Push your changes and open a pull request, include a description.