Skip to content

Commit 5e0f7f5

Browse files
committed
docs: remove url version number from url
1 parent bb1b123 commit 5e0f7f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/docs/gatsby-config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ module.exports = {
77
titleTemplate: `%s · React UI Components · CoreUI `,
88
description: `CoreUI for React.js is UI Component library written in TypeScript, and ready for your next React.js project.`,
99
author: `@coreui_io`,
10-
url: `https://coreui.io/react/docs/${pkg.config.version_short}/`,
11-
siteUrl: `https://coreui.io/react/docs/${pkg.config.version_short}/`,
10+
url: `https://coreui.io/react/docs/`,
11+
siteUrl: `https://coreui.io/react/docs/`,
1212
image: ``, // Path to your image you placed in the `static` folder
1313
twitterUsername: `@coreui_io`,
1414
},
15+
pathPrefix: `react/docs/`,
1516
plugins: [
1617
`gatsby-plugin-react-helmet`,
1718
`gatsby-plugin-image`,

0 commit comments

Comments
 (0)