Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Automatically find broken links in Spree Guides

Damian Legawiec896362b7d5b6
diff --git a/guides/gatsby-config.js b/guides/gatsby-config.js
index f1b42e4e46..f3a56497e7 100644
--- a/guides/gatsby-config.js
+++ b/guides/gatsby-config.js
@@ -17,7 +17,14 @@ module.exports = {
noQueryString: true
},
},
- 'gatsby-transformer-remark',
+ {
+ resolve: 'gatsby-transformer-remark',
+ options: {
+ plugins: [
+ 'gatsby-remark-check-links'
+ ]
+ }
+ },
'gatsby-plugin-robots-txt',
{
resolve: `gatsby-plugin-google-gtag`,
diff --git a/guides/package.json b/guides/package.json
index ef464b841b..c3e758b722 100644
--- a/guides/package.json
+++ b/guides/package.json
@@ -22,6 +22,7 @@
"gatsby-plugin-sharp": "^2.5.6",
"gatsby-plugin-sitemap": "^2.0.10",
"gatsby-prismjs-dracula": "^0.1.15",
+ "gatsby-remark-check-links": "^2.1.0",
"gatsby-remark-component": "devilcoders/gatsby-remark-component",
"gatsby-remark-copy-linked-files": "^2.0.6",
"gatsby-remark-external-links": "^0.0.4",
diff --git a/guides/src/content/developer/index.md b/guides/src/content/developer/index.md
index 485074d5c1..0f0719351e 100644
--- a/guides/src/content/developer/index.md
+++ b/guides/src/content/developer/index.md
@@ -18,4 +18,4 @@ You will find all the required information in the [Customization section](/devel
## I want to contribute to Spree
-Awesome! Please see [Contributing](developer/contributing/) for details.
+Awesome! Please see [Contributing](/developer/contributing/) for details.
diff --git a/guides/src/pages/index.js b/guides/src/pages/index.js
index 630aaae6ce..c6d7fa626a 100644
--- a/guides/src/pages/index.js
+++ b/guides/src/pages/index.js
@@ -34,7 +34,7 @@ import Section from 'components/Section'
<p class="tc mb3">
<strong>First time?</strong> We recommend you read the&nbsp;
- <a href="/developer/tutorials/getting_started_tutorial.html">Getting Started</a> tutorial
+ <a href="/developer/getting_started/installation.html">Getting Started</a> tutorial
</p>
<div className="mw8 center">
diff --git a/guides/yarn.lock b/guides/yarn.lock
index 723b4d263a..ba7ebbd2d9 100644
--- a/guides/yarn.lock
+++ b/guides/yarn.lock
@@ -7054,6 +7054,13 @@ gatsby-recipes@^0.2.27:
yoga-layout-prebuilt "^1.9.6"
yup "^0.27.0"
+gatsby-remark-check-links@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/gatsby-remark-check-links/-/gatsby-remark-check-links-2.1.0.tgz#8e8a2b1b82ac6c516fcc2074e8f806e2c0d53571"
+ integrity sha512-TbhT8oVlAgJfxe0WUQWDOb0kLkMUYo1N4AfFstejClPWO4OjRlznt3IMW3weQkwuweiovF5cxVpQcFrkCGVFBw==
+ dependencies:
+ unist-util-visit "^1.4.1"
+
gatsby-remark-component@devilcoders/gatsby-remark-component:
version "1.1.4"
resolved "https://codeload.github.com/devilcoders/gatsby-remark-component/tar.gz/c39df6ffe622130bbf77ba3ba7ce5be75e0fda41"