These are the docs for v2, which has an open maintenance window until April 1, 2021. View the v3 docs.

  • Gatsbyjs.com
    Gatsbyjs.com
  • Gatsby Cloud
    Gatsby Cloud
  • Support
    Support
  • Contact
    Contact
  • Log in
    Log in
docs
    • Tutorial
      Tutorial
    • How-to Guides
      How-to Guides
    • Reference
      Reference
    • Conceptual Guide
      Conceptual Guide
    • Quick Start
      Quick Start
    • v2

      • v3

        v3

      • v2

        v2

      • v1

        v1

DocumentationReference Guides
Docs

Config Files

Inside its configuration files, Gatsby provides a rich set of lifecycle APIs to hook into its bootstrap, build, and client runtime operations. They allow sourcing data, creating pages, and customizing generated HTML pages.

 Main Guides 2

Gatsby Config APIs→

Specify your site's plugins, their options and references to env variables and secrets, as well as other information like site metadata.

Gatsby Node APIs→

Gatsby gives plugins and site builders many APIs for controlling their site’s data.

 Additional Guides 5

  • Gatsby Browser APIs
  • Gatsby SSR APIs
  • Gatsby Node Helpers
  • Redux Actions
  • Customizing html.js
  • Accessibility Statement
  • Code of Conduct
  • Logo & Assets
  • Privacy Policy
  Docs
  • Reference
    • Overview
    • Gatsby Project Structure
    • Gatsby CLI commands
    • Gatsby Link API
    • Gatsby Image API
    • Creating Routes
    • File System Route API
    • Overview
    • Gatsby Config APIs
    • Gatsby Node APIs
    • Additional Guides 5
    • Overview
    • GraphQL Query API
    • GraphQL Query Options Reference
    • Customizing the GraphQL Schema
    • GraphQL Fragments
    • Additional Guides 2