Skip to navigation

Customize GraphQL API Reference layout

Control how GraphQL operations appear in the sidebar using the operation keyword in your docs.yml layout. Order operations, set custom titles and slugs, hide operations, and group them into sections.

docs.yml
navigation:
- api: GraphQL API Reference
layout:
- section: Plants
contents:
- operation: QUERY getPlant
title: Get plant details
- operation: MUTATION createPlant
Read the docs