From 17a6d6abb9fbceb502829fef2da7b97b17e3ecba Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Thu, 8 Feb 2018 12:30:21 -0800 Subject: [PATCH] Fix broken links (#3930) --- .../2017-09-18-gatsby-modern-static-generation/index.md | 2 +- docs/docs/adding-tags-and-categories-to-blog-posts.md | 2 +- docs/docs/awesome-gatsby.md | 2 +- docs/docs/gatsby-starters.md | 2 +- docs/docs/plugins.md | 1 - docs/features/gatsby-specs.csv | 2 +- www/src/components/markdown-page-footer.js | 6 +++--- www/src/templates/template-docs-packages.js | 2 +- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/blog/2017-09-18-gatsby-modern-static-generation/index.md b/docs/blog/2017-09-18-gatsby-modern-static-generation/index.md index 7320c8c980dfd..a297523dca252 100644 --- a/docs/blog/2017-09-18-gatsby-modern-static-generation/index.md +++ b/docs/blog/2017-09-18-gatsby-modern-static-generation/index.md @@ -20,7 +20,7 @@ production by creating a landing page very fast. Static site generators like Jekyll all work pretty similarly: -* Describe your content in some common templating language ([Pug](pugjs.org), +* Describe your content in some common templating language ([Pug](http://pugjs.org), [Handlebars](http://handlebarsjs.com), etc) * While in development, start a local web server and add file "watchers" that will listen for content changes and re-render the site diff --git a/docs/docs/adding-tags-and-categories-to-blog-posts.md b/docs/docs/adding-tags-and-categories-to-blog-posts.md index 150773f1e5d84..4ca91d3f91a51 100644 --- a/docs/docs/adding-tags-and-categories-to-blog-posts.md +++ b/docs/docs/adding-tags-and-categories-to-blog-posts.md @@ -4,7 +4,7 @@ title: Creating tags pages for blog posts Creating tag pages for your blog post is a way to let visitors browse related content. -To add tags to your blog posts, you will first want to have your site set up to turn your markdown pages into blog posts. To get your blog pages set up, see the [tutorial on Gatsby's data layer](tutorial/part-four/) and [Adding Markdown Pages](docs/adding-markdown-pages/). +To add tags to your blog posts, you will first want to have your site set up to turn your markdown pages into blog posts. To get your blog pages set up, see the [tutorial on Gatsby's data layer](/tutorial/part-four/) and [Adding Markdown Pages](/docs/adding-markdown-pages/). ## Add a tags field to your blog posts diff --git a/docs/docs/awesome-gatsby.md b/docs/docs/awesome-gatsby.md index 108f29302f26a..de4a112d06811 100644 --- a/docs/docs/awesome-gatsby.md +++ b/docs/docs/awesome-gatsby.md @@ -20,7 +20,7 @@ See the [list of official and community plugins](/docs/plugins/) * [Static Site Generation with Gatsby.js v0 — Scott Nonnenberg](https://blog.scottnonnenberg.com/static-site-generation-with-gatsby-js/) * [React.js Conf 2016 - Lightning Talks - Kyle Mathews](https://www.youtube.com/watch?v=RFkNRKL6ZoE) -* [Developing with React and Gatsby.js — Kyle Mathews](http://www.staticwebtech.com/presentations/developing-with-react-gatsbyjs/) +* [Developing with React and Gatsby.js — Kyle Mathews](https://www.youtube.com/watch?v=G4LVKJOOj7o) * [GraphQL Summit Open Source Lightning Talk on Gatsby — Kyle Mathews](https://youtu.be/y588qNiCZZo) * [Talk on GatsbyJS @ ViennaJS — Gerald Bauer](https://www.youtube.com/watch?v=f0O1nCgqA3E&feature=youtu.be&a) diff --git a/docs/docs/gatsby-starters.md b/docs/docs/gatsby-starters.md index 929d306ab1cd2..612de8d295d4f 100644 --- a/docs/docs/gatsby-starters.md +++ b/docs/docs/gatsby-starters.md @@ -347,7 +347,7 @@ Community: * Single Page * A portfolio Developers and Product launchers alike - * Using [Typography.js](kyleamathews.github.io/typography.js/) easy to switch fonts + * Using [Typography.js](https://kyleamathews.github.io/typography.js/) easy to switch fonts * All your Project/Portfolio Data in Markdown, server by GraphQL * Responsive Design, optimized for Mobile devices diff --git a/docs/docs/plugins.md b/docs/docs/plugins.md index 216065f623613..484d897f6acac 100644 --- a/docs/docs/plugins.md +++ b/docs/docs/plugins.md @@ -141,7 +141,6 @@ root. * [gatsby-transformer-javascript-static-exports](/packages/gatsby-transformer-javascript-static-exports/) * [gatsby-transformer-json](/packages/gatsby-transformer-json/) * [gatsby-transformer-pdf](/packages/gatsby-transformer-pdf/) -* [gatsby-transformer-pdfimages](/packages/gatsby-transformer-pdfimages/) * [gatsby-transformer-react-docgen](/packages/gatsby-transformer-react-docgen/) * [gatsby-transformer-remark](/packages/gatsby-transformer-remark/) * [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) diff --git a/docs/features/gatsby-specs.csv b/docs/features/gatsby-specs.csv index 974fc3318f7c3..1b5605d34a69d 100644 --- a/docs/features/gatsby-specs.csv +++ b/docs/features/gatsby-specs.csv @@ -62,7 +62,7 @@ Developer Experience,Maintenance & Extensibility,Serverless,3,3,2,2,"

Serverle

  • Language features: Classes, static variables, generators, async control flows like promises & async / await
  • Data structures / types and modularity: Maps, sets, modules, module loading, unicode...
  • " -Ecosystem,Ecosystem,Component ecosystem,3,0,3,0,"React has several sets of out-of-the-box component libraries, as well as curated sets eg JSCoach" +Ecosystem,Ecosystem,Component ecosystem,3,0,3,0,"React has several sets of out-of-the-box component libraries, as well as curated sets eg JSCoach" ,,Hosted option,2,2,3,3,Gatsby and other static site generators can be plugged into static hosts such as Netlify or surge.sh. Wordpress and Squarespace both come with built-in hosting. ,,Theme ecosystem,2,2,3,3,"Gatsby offers various themes through Typography.js, and Jekyll has themes built on it as well. Wordpress and Squarespace offer support for multiple themes through theme selectors out of the box." Design,Faster design iterations,Programmatic Design,2,0,0,0,"Gatsby offers support for programmatic design by being built on Typography.js." diff --git a/www/src/components/markdown-page-footer.js b/www/src/components/markdown-page-footer.js index 84ce710c77d71..a0bf9c515f9b4 100644 --- a/www/src/components/markdown-page-footer.js +++ b/www/src/components/markdown-page-footer.js @@ -89,9 +89,9 @@ export default class MarkdownPageFooter extends React.Component { }, }, }} - href={`https://github.com/gatsbyjs/gatsby/blob/master/docs/${ - this.props.page.parent.relativePath - }`} + href={`https://github.com/gatsbyjs/gatsby/blob/master/${ + this.props.packagePage ? `packages` : `docs` + }/${this.props.page.parent.relativePath}`} > {` `} diff --git a/www/src/templates/template-docs-packages.js b/www/src/templates/template-docs-packages.js index f6de4219d44e8..d7807540e2400 100644 --- a/www/src/templates/template-docs-packages.js +++ b/www/src/templates/template-docs-packages.js @@ -40,7 +40,7 @@ class DocsPackagesTemplate extends React.Component { __html: this.props.data.markdownRemark.html, }} /> - + ) }