Skip to content
master
Go to file
Code

Latest commit

* wip: add placeholder how-to guide landing page

* chore: move babel into how-to guides

* wip: add temp placeholders for conceptual and reference landing pages

* wip: add SectionWithSideLinks component for /docs landing page

* Still needs Icon support

* change imports to local component imports

* remove doc type landing pages (handled in mansion)

* remove www file (missed during merge conflicts)

* remove old /docs landing page (now generated from mansion)

* reorg files for some how-to guides

* Corresponds to f082386af586029259964bd102d2d883b58838b1 in mansion
* Setup and Local Development
* Customizing the Default JS Tools
* Routing and Pages

* reorg some how-to guides

* Corresponds to f51d730dd861199d7e0e9f99f9428e81753e37e5 in mansion
* Styling
* Adding Images and Media
* Plugins and Themes

* re-move how-to guides into subfolders per section

* Corresponds with c3db1c5ed56861324591a476195dce9105345e30 in mansion

* move rest of how-to guides to subfolders

* Corresponds with cb26f57ae31db916779f7a87d57718dfe9de8f16 in mansion

* move reference docs to subfolders

* Corresponds with de6e56b59c in mansion

* move conceptual guides into subfolders

* Corresponds to 916376112b in mansion

* move Using Gatsby Professionally docs into subfolder

* Temporary holding place until we can move them to blog posts

* move tutorial into /docs
* corresponds with d435d15259 in mansion

* feat: organize docs for reference type

* Corresponds with 430f9a6fbf in mansion

* remove duplicate /docs/testing

* fix: sidebar links QA

* Corresponds with 9819eb6d05 in mansion
* How-to guides (stopped @ adding images and media)

* fix: move some docs

* Corresponds with 00faa14a15 in mansion

* move v2.26 release notes under the right folder

* feat: rename Gatsby Magic -> Gatsby Jargon

* reorg: move Making Your Site Accessible into Conceptual

* feat: remove api-reference GuideList page

* This will need a redirect from /docs/api-reference to /docs/reference

* reorg: move PRPL and "what is a plugin" out of conceptual

* reorg: move "customizing components with mdx" into how-to

* reorg: prefer useStaticQuery over StaticQuery component

* reorg: add subfolder for reference/routing

* feat: consolidate redundant gatsby-browser docs

* fix: rename gatsby-node-apis doc to gatsby-node for consistency

* feat: add placeholder for How to Create Pages doc

* fix: remove 'advanced' directory from docs structure

* fix: align reference categories with how-to categories

* fix: shorten path param for reference/builds

* feat: consolidate api-files* and gatsby-* docs

* fix: split sourcing-and-querying-data into separate folders

* Corresponds with 5621094131 in mansion

* feat: swap out source plugin how-to for tutorial

* fix: update old links to match redirect urls

* fix: remove 'recipes' label from Working With Starters

* test: update one image path

* fix: update image paths for all reorganized docs

* fix: lint

* fix: update links to How To 404 Page doc

* fix: merge mdx docs into one how-to guide

* fix: add intro to MDX how-to

* fix: move release notes into the right folder

* fix: reorg reference categories back to old structure

* fix: update links from restructuring Reference categories

* no line breaks in middle of para otherwise mdx hates us

* Update index.md

* fix: remove <br> tag that's breaking MDX

Co-authored-by: Sam Bhagwat <calcalcsam@gmail.com>
Co-authored-by: Sam Bhagwat <calcsam@gmail.com>
18de9ef

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jun 27, 2019
Mar 28, 2016

README.md

Gatsby

Gatsby v2

βš›οΈ πŸ“„ πŸš€

Fast in every way that matters

Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps

Gatsby is released under the MIT license. Current CircleCI build status. Current npm package version. Downloads per month on npm. Total downloads on npm. PRs welcome! Follow @gatsbyjs

Quickstart Β· Tutorial Β· Plugins Β· Starters Β· Showcase Β· Contribute Β· Support: Twitter & Discord

Gatsby is a modern web framework for blazing fast websites.

  • Go Beyond Static Websites. Get all the benefits of static websites with none of the limitations. Gatsby sites are fully functional React apps so you can create high-quality, dynamic web apps, from blogs to e-commerce sites to user dashboards.

  • Use a Modern Stack for Every Site. No matter where the data comes from, Gatsby sites are built using React and GraphQL. Build a uniform workflow for you and your team, regardless of whether the data is coming from the same backend.

  • Load Data From Anywhere. Gatsby pulls in data from any data source, whether it’s Markdown files, a headless CMS like Contentful or WordPress, or a REST or GraphQL API. Use source plugins to load your data, then develop using Gatsby’s uniform GraphQL interface.

  • Performance Is Baked In. Ace your performance audits by default. Gatsby automates code splitting, image optimization, inlining critical styles, lazy-loading, prefetching resources, and more to ensure your site is fast β€” no manual tuning required.

  • Host at Scale for Pennies. Gatsby sites don’t require servers so you can host your entire site on a CDN for a fraction of the cost of a server-rendered site. Many Gatsby sites can be hosted entirely free on services like GitHub Pages and Netlify.

Learn how to use Gatsby for your next project.

What’s In This Document

πŸš€ Get Up and Running in 5 Minutes

You can get a new Gatsby site up and running on your local dev environment in 5 minutes with these four steps:

  1. Install the Gatsby CLI.

    npm install -g gatsby-cli
    
  2. Create a Gatsby site from a Gatsby starter.

    Get your Gatsby blog set up in a single command:

    # create a new Gatsby site using the default starter
    gatsby new my-blazing-fast-site
  3. Start the site in develop mode.

    Next, move into your new site’s directory and start it up:

    cd my-blazing-fast-site/
    gatsby develop
  4. Open the source code and start editing!

    Your site is now running at http://localhost:8000. Open the my-blazing-fast-site directory in your code editor of choice and edit src/pages/index.js. Save your changes, and the browser will update in real time!

At this point, you’ve got a fully functional Gatsby website. For additional information on how you can customize your Gatsby site, see our plugins and the official tutorial.

πŸŽ“ Learning Gatsby

Full documentation for Gatsby lives on the website.

  • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples head to our documentation. In particular, check out the β€œGuides”, β€œAPI Reference”, and β€œAdvanced Tutorials” sections in the sidebar.

We welcome suggestions for improving our docs. See the β€œhow to contribute” documentation for more details.

Start Learning Gatsby: Follow the Tutorial Β· Read the Docs

πŸ’Ό Migration Guides

Already have a Gatsby site? These handy guides will help you add the improvements of Gatsby v2 to your site without starting from scratch!

❗ Code of Conduct

Gatsby is dedicated to building a welcoming, diverse, safe community. We expect everyone participating in the Gatsby community to abide by our Code of Conduct. Please read it. Please follow it. In the Gatsby community, we work hard to build each other up and create amazing things together. πŸ’ͺπŸ’œ

🀝 How to Contribute

Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the Gatsby community! πŸ’ͺπŸ’œ

Check out our Contributing Guide for ideas on contributing and setup steps for getting our repositories up and running on your local machine.

A note on how this repository is organized

This repository is a monorepo managed using Lerna. This means there are multiple packages managed in this codebase, even though we publish them to NPM as separate packages.

Contributing to Gatsby v1

We are currently only accepting bug fixes for Gatsby v1. No new features will be accepted.

πŸ“ License

Licensed under the MIT License.

πŸ’œ Thanks

Thanks to our many contributors and to Netlify for hosting Gatsby and our example sites.

You can’t perform that action at this time.