Skip to content

Commit

Permalink
Link fix (#3643)
Browse files Browse the repository at this point in the history
* fix(docs): added margin between sections

* fix: link

* Update docusaurus.config.js
  • Loading branch information
jose-donato authored Nov 29, 2022
1 parent b181ed3 commit 9fdfca2
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 1 deletion.
11 changes: 11 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ const config = {
},

plugins: [
[
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
from: "/terminal/guides/intros/forecasting",
to: "/terminal/guides/intros/forecast",
},
],
},
],
async function twPlugin(context, options) {
return {
name: "docusaurus-tailwindcss",
Expand Down
40 changes: 40 additions & 0 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^0.11.0",
"@docusaurus/core": "2.2.0",
"@docusaurus/plugin-client-redirects": "^2.2.0",
"@docusaurus/plugin-content-docs": "^2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^1.6.22",
Expand Down Expand Up @@ -51,4 +52,4 @@
"engines": {
"node": ">=16.14"
}
}
}
15 changes: 15 additions & 0 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1376,6 +1376,21 @@
"react-helmet-async" "*"
"react-loadable" "npm:@docusaurus/[email protected]"

"@docusaurus/plugin-client-redirects@^2.2.0":
"integrity" "sha512-psBoWi+cbc2I+VPkKJlcZ12tRN3xiv22tnZfNKyMo18iSY8gr4B6Q0G2KZXGPgNGJ/6gq7ATfgDK6p9h9XRxMQ=="
"resolved" "https://registry.npmjs.org/@docusaurus/plugin-client-redirects/-/plugin-client-redirects-2.2.0.tgz"
"version" "2.2.0"
dependencies:
"@docusaurus/core" "2.2.0"
"@docusaurus/logger" "2.2.0"
"@docusaurus/utils" "2.2.0"
"@docusaurus/utils-common" "2.2.0"
"@docusaurus/utils-validation" "2.2.0"
"eta" "^1.12.3"
"fs-extra" "^10.1.0"
"lodash" "^4.17.21"
"tslib" "^2.4.0"

"@docusaurus/[email protected]":
"integrity" "sha512-0mWBinEh0a5J2+8ZJXJXbrCk1tSTNf7Nm4tYAl5h2/xx+PvH/Bnu0V+7mMljYm/1QlDYALNIIaT/JcoZQFUN3w=="
"resolved" "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.2.0.tgz"
Expand Down

0 comments on commit 9fdfca2

Please sign in to comment.