Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit ff7211c

Browse files
author
Jesper Orb
authored
feat(gatsby-theme-docz): no reload on relative links (#1482)
1 parent 394275f commit ff7211c

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

core/gatsby-theme-docz/gatsby-config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ module.exports = opts => {
8282
},
8383
},
8484
},
85+
{
86+
resolve: 'gatsby-plugin-catch-links',
87+
},
8588
{
8689
resolve: 'gatsby-plugin-react-helmet-async',
8790
},

core/gatsby-theme-docz/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"fs-extra": "^8.1.0",
2929
"gatsby": "^2.13.27",
3030
"gatsby-plugin-alias-imports": "^1.0.5",
31+
"gatsby-plugin-catch-links": "^2.3.0",
3132
"gatsby-plugin-compile-es6-packages": "^2.0.0",
3233
"gatsby-plugin-emotion": "^4.1.2",
3334
"gatsby-plugin-mdx": "^1.0.13",

yarn.lock

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,6 +1880,13 @@
18801880
dependencies:
18811881
regenerator-runtime "^0.13.4"
18821882

1883+
"@babel/runtime@^7.9.2":
1884+
version "7.9.6"
1885+
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f"
1886+
integrity sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ==
1887+
dependencies:
1888+
regenerator-runtime "^0.13.4"
1889+
18831890
"@babel/standalone@^7.4.5":
18841891
version "7.5.4"
18851892
resolved "https://registry.npmjs.org/@babel/standalone/-/standalone-7.5.4.tgz#c57221528619fcd2e8e2425f11d5d7cd79263b80"
@@ -10282,6 +10289,14 @@ gatsby-plugin-alias-imports@^1.0.5:
1028210289
dependencies:
1028310290
"@babel/runtime" "^7.2.0"
1028410291

10292+
gatsby-plugin-catch-links@^2.3.0:
10293+
version "2.3.0"
10294+
resolved "https://registry.npmjs.org/gatsby-plugin-catch-links/-/gatsby-plugin-catch-links-2.3.0.tgz#75cdee9c62c6948b0d509a83c6876cea3a54c53b"
10295+
integrity sha512-Neoa6ijOG0+EeMH1SudOX9s8qKimguOmtxPgbr9WvbXEbY1zjz4Pi3iE3Np1sLodXTiHdjlPuHewv3NUnaFflg==
10296+
dependencies:
10297+
"@babel/runtime" "^7.9.2"
10298+
escape-string-regexp "^1.0.5"
10299+
1028510300
gatsby-plugin-compile-es6-packages@^2.0.0:
1028610301
version "2.0.0"
1028710302
resolved "https://registry.npmjs.org/gatsby-plugin-compile-es6-packages/-/gatsby-plugin-compile-es6-packages-2.0.0.tgz#152726a561178b3f02ba35a63b785eb367d334c2"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy