Skip to content

Commit

Permalink
feat(gatsby-theme-docz): no reload on relative links (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Orb committed May 5, 2020
1 parent 394275f commit ff7211c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/gatsby-theme-docz/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ module.exports = opts => {
},
},
},
{
resolve: 'gatsby-plugin-catch-links',
},
{
resolve: 'gatsby-plugin-react-helmet-async',
},
Expand Down
1 change: 1 addition & 0 deletions core/gatsby-theme-docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"fs-extra": "^8.1.0",
"gatsby": "^2.13.27",
"gatsby-plugin-alias-imports": "^1.0.5",
"gatsby-plugin-catch-links": "^2.3.0",
"gatsby-plugin-compile-es6-packages": "^2.0.0",
"gatsby-plugin-emotion": "^4.1.2",
"gatsby-plugin-mdx": "^1.0.13",
Expand Down
15 changes: 15 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,13 @@
dependencies:
regenerator-runtime "^0.13.4"

"@babel/runtime@^7.9.2":
version "7.9.6"
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f"
integrity sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ==
dependencies:
regenerator-runtime "^0.13.4"

"@babel/standalone@^7.4.5":
version "7.5.4"
resolved "https://registry.npmjs.org/@babel/standalone/-/standalone-7.5.4.tgz#c57221528619fcd2e8e2425f11d5d7cd79263b80"
Expand Down Expand Up @@ -10282,6 +10289,14 @@ gatsby-plugin-alias-imports@^1.0.5:
dependencies:
"@babel/runtime" "^7.2.0"

gatsby-plugin-catch-links@^2.3.0:
version "2.3.0"
resolved "https://registry.npmjs.org/gatsby-plugin-catch-links/-/gatsby-plugin-catch-links-2.3.0.tgz#75cdee9c62c6948b0d509a83c6876cea3a54c53b"
integrity sha512-Neoa6ijOG0+EeMH1SudOX9s8qKimguOmtxPgbr9WvbXEbY1zjz4Pi3iE3Np1sLodXTiHdjlPuHewv3NUnaFflg==
dependencies:
"@babel/runtime" "^7.9.2"
escape-string-regexp "^1.0.5"

gatsby-plugin-compile-es6-packages@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/gatsby-plugin-compile-es6-packages/-/gatsby-plugin-compile-es6-packages-2.0.0.tgz#152726a561178b3f02ba35a63b785eb367d334c2"
Expand Down

0 comments on commit ff7211c

Please sign in to comment.