> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## Customize GraphQL API Reference layout

api-reference, docs.yml

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`**

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

Read the docs