diff --git a/.forestry/front_matter/templates/blog.yml b/.forestry/front_matter/templates/blog.yml new file mode 100644 index 0000000000000..461b9fef8f944 --- /dev/null +++ b/.forestry/front_matter/templates/blog.yml @@ -0,0 +1,37 @@ +--- +label: blog +hide_body: false +is_partial: false +fields: +- name: title + label: Title + type: text + hidden: false + default: '' +- name: date + label: Date + type: datetime + hidden: false + default: '' +- name: author + label: Author + type: text + hidden: false + default: '' +- name: tags + label: Tags + type: tag_list + hidden: false + default: '' +- name: image + label: Image + type: file + hidden: false + default: '' +- name: showImageInArticle + label: 'Show Image? ' + type: boolean + hidden: false + default: '' +pages: +- docs/blog/gatsby-days-talks-are-here.md diff --git a/.forestry/front_matter/templates/docs.yml b/.forestry/front_matter/templates/docs.yml new file mode 100644 index 0000000000000..20664ea9efa56 --- /dev/null +++ b/.forestry/front_matter/templates/docs.yml @@ -0,0 +1,8 @@ +--- +label: Docs +hide_body: false +is_partial: false +fields: +- type: text + name: title + label: Title diff --git a/.forestry/settings.yml b/.forestry/settings.yml new file mode 100644 index 0000000000000..6ec37b5f44439 --- /dev/null +++ b/.forestry/settings.yml @@ -0,0 +1,41 @@ +--- +new_page_extension: md +auto_deploy: false +admin_path: +webhook_url: +sections: +- type: heading + label: Content +- type: directory + path: docs/blog + label: Blog Posts + create: all + match: "**/*.md" + templates: + - blog +- type: directory + path: docs/docs + label: Docs + create: all + match: "**/*.md" + templates: + - making-a-site-with-user-authentication +- type: document + path: docs/blog/author.yaml + label: Authors +- type: document + path: docs/sites.yml + label: Featured Sites +- type: document + path: docs/starters.yml + label: Starters +upload_dir: www/src/uploads +public_path: "/src/uploads" +front_matter_path: '' +use_front_matter_path: false +file_template: ":filename:" +build: + preview_command: npm run forestry:preview + preview_env: + - BUILD_DIR=www/ + output_directory: www/public diff --git a/.prettierignore b/.prettierignore index 76588cef92e25..792bb9dc5dcef 100644 --- a/.prettierignore +++ b/.prettierignore @@ -29,3 +29,6 @@ infrastructure # coverage coverage + +# forestry files +.forestry/**/* diff --git a/docs/blog/2018-10-25-unstructured-data/data_sources.png b/docs/blog/2018-10-25-using-gatsby-without-graphql/data_sources.png similarity index 100% rename from docs/blog/2018-10-25-unstructured-data/data_sources.png rename to docs/blog/2018-10-25-using-gatsby-without-graphql/data_sources.png diff --git a/docs/blog/2018-10-25-unstructured-data/index.md b/docs/blog/2018-10-25-using-gatsby-without-graphql/index.md similarity index 96% rename from docs/blog/2018-10-25-unstructured-data/index.md rename to docs/blog/2018-10-25-using-gatsby-without-graphql/index.md index c3b05a42b1d49..8c63d2b3d360a 100644 --- a/docs/blog/2018-10-25-unstructured-data/index.md +++ b/docs/blog/2018-10-25-using-gatsby-without-graphql/index.md @@ -1,5 +1,5 @@ --- -title: Using unstructured data in Gatsby +title: Using Gatsby without GraphQL date: 2018-10-25 author: Amberley Romo tags: ["sourcing", "data"] @@ -16,7 +16,7 @@ Gatsby’s rich data plugin ecosystem lets you build sites with the data you wan -Most examples in the Gatsby docs and on the web at large focus on leveraging source plugins to manage your data in Gatsby sites. And rightly so! Gatsby's data layer is powerful and extremely effective; it solves the "integration problem" of decoupled CMSs -- it's the glue between presentation layer and wherever your data is sourced from. +Most examples in the Gatsby docs and on the web at large focus on leveraging source plugins to manage your data in Gatsby sites. And rightly so! Gatsby's GraphQL data layer is powerful and extremely effective; it solves the "integration problem" of decoupled CMSs -- it's the glue between presentation layer and wherever your data is sourced from.
@@ -25,11 +25,11 @@ Most examples in the Gatsby docs and on the web at large focus on leveraging sou
-> _[Source plugins](/docs/create-source-plugin/)_ “source” data from remote or local locations into Gatsby nodes. _[Gatsby nodes](/docs/node-interface/)_ are the center of Gatsby’s data handling layer. +> _[Source plugins](/docs/create-source-plugin/)_ “source” data from remote or local locations into Gatsby nodes, which are then queryable within your Gatsby site using GraphQL. _[Gatsby nodes](/docs/node-interface/)_ are the center of Gatsby’s data handling layer. We're calling this the **"content mesh"** — the infrastructure layer for a decoupled website. ([Sam Bhagwat](https://twitter.com/calcsam) introduced and explored this concept in his recent five-part series, [The Journey to a Content Mesh](https://www.gatsbyjs.org/blog/2018-10-04-journey-to-the-content-mesh)). -**However, you don't _need_ to use source plugins (or create Gatsby nodes) to pull data into a Gatsby site!** In this post we'll explore how to use an "unstructured data" approach in Gatsby sites, and some of the pros and cons of doing so. +**However, you don't _need_ to use source plugins (or create Gatsby nodes) to pull data into a Gatsby site!** In this post we'll explore how to use Gatsby without GraphQL (using "unstructured data"), and some of the pros and cons of doing so. > _Note_: For our purposes here, "unstructured data" means data "handled outside of Gatsby's data layer" i.e. using the data directly, and not transforming the data into Gatsby nodes. diff --git a/docs/blog/2018-10-25-unstructured-data/integration_layer.png b/docs/blog/2018-10-25-using-gatsby-without-graphql/integration_layer.png similarity index 100% rename from docs/blog/2018-10-25-unstructured-data/integration_layer.png rename to docs/blog/2018-10-25-using-gatsby-without-graphql/integration_layer.png diff --git a/docs/blog/2019-01-09-gatsby-days-talks-are-here.md b/docs/blog/2019-01-09-gatsby-days-talks-are-here.md new file mode 100644 index 0000000000000..e31418d0395fa --- /dev/null +++ b/docs/blog/2019-01-09-gatsby-days-talks-are-here.md @@ -0,0 +1,32 @@ +--- +title: Gatsby Days Talks are Here! +date: 2019-01-09T08:00:00+00:00 +author: Linda Watkins +tags: + - Gatsby Days + - Presentations + - Talks + - Videos +image: "./images/Gatsby-Days copy.png" +showImageInArticle: true +--- + +The wait is over! Gatsby Days talks are posted below. Gatsby Days are one-day, in-person conferences on the modern website technology stack and the future of the web. + +Get caught up on all the latest presentations from Gatsby Days in Mountain View, California such as Kyle Mathews' presentation on the future of the web, Chris Biscardi on Gatsby Themes, product announcements, how to sell Gatsby to your clients, and more. Check out the recordings below and if you'd like to see a Gatsby Days come to your city, [**cast your vote here**](https://www.gatsbyjs.com/gatsby-days-signup/). + +### Gatsby Days Talks + +[How We Got Here and The Future of Website Development](https://www.gatsbyjs.com/gatsby-days-keynote-kyle/) by **Kyle Mathews**, CEO and Co-founder, Gatsby + +[Introducing Gatsby Themes](https://www.gatsbyjs.com/gatsby-days-themes-chris/) with **Chris Biscardi**, Developer, Gatsby + +[Announcing Gatsby Preview: The Future is in the Cloud ](https://www.gatsbyjs.com/gatsby-days-preview-andrew/) with **Andrew Rhyne**, Cloud Services Engineer, Gatsby + +[The Power of Positioning: Selling Gatsby to Your Clients](https://www.gatsbyjs.com/gatsby-days-positioning-linda/) by **Linda Watkins**, Director of Marketing, Gatsby + +[The Journey to the Content Mesh](https://www.gatsbyjs.com/gatsby-days-content-mesh-sam/) with **Sam Bhagwat**, Co-Founder and Head of Enterprise, Gatsby + +[How Gatsby Does High-Impact, Low-Effort UX Research (and You Can Too!)](https://www.gatsbyjs.com/gatsby-days-UXresearch-shannon/) by **Shannon Soper**, UX Specialist and Head of Learning, Gatsby + +[Move Fast, Don't Break Things: Trends in Modern Web Development with Mediacurrent](https://www.gatsbyjs.com/gatsby-days-mediacurrent-ben/) by **Ben Robertson**, Front-End Developer, Mediacurrent diff --git a/docs/blog/images/Gatsby-Days copy.png b/docs/blog/images/Gatsby-Days copy.png new file mode 100644 index 0000000000000..79b31e6e6c348 Binary files /dev/null and b/docs/blog/images/Gatsby-Days copy.png differ diff --git a/docs/docs/custom-html.md b/docs/docs/custom-html.md index fd49f64135e65..bbe52ea0f2ef1 100644 --- a/docs/docs/custom-html.md +++ b/docs/docs/custom-html.md @@ -15,18 +15,24 @@ cp .cache/default-html.js src/html.js And then make modifications as needed. +If you need to insert custom html into the `` or `