Merge pull request #10382 from ToolJet/docs/upgrade-docusaurus

[docs]: upgrade docusaurus to 3.4.0
This commit is contained in:
Adish M 2024-07-17 11:18:42 +05:30 committed by GitHub
commit f27cd3e360
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1989 additions and 1455 deletions

View file

@ -34,7 +34,7 @@ module.exports = {
},
navbar: {
logo: {
href: '/docs',
href: '/docs/',
alt: 'ToolJet Logo',
src: 'img/Logomark.svg',
srcDark: `img/Logomark_white.svg`,
@ -151,6 +151,17 @@ module.exports = {
],
plugins: [
devServerPlugin,
'plugin-image-zoom'
'plugin-image-zoom',
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
to: '/docs/',
from: '/',
},
],
},
],
],
};
};

3393
docs/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -14,14 +14,15 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.2.1",
"@docusaurus/plugin-google-gtag": "^3.2.1",
"@mdx-js/react": "^3.0.1",
"prism-react-renderer": "^2.1.0",
"@docusaurus/plugin-sitemap": "^3.2.1",
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-client-redirects": "^3.4.0",
"@docusaurus/plugin-google-gtag": "^3.4.0",
"@docusaurus/plugin-sitemap": "^3.4.0",
"@docusaurus/preset-classic": "^3.2.1",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.0.0",
"plugin-image-zoom": "github:flexanalytics/plugin-image-zoom",
"prism-react-renderer": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
@ -49,4 +50,4 @@
"node": "18.18.2",
"npm": "9.8.1"
}
}
}

View file

@ -1,21 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="0; url=docs/id-of-doc-to-land-on.html" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
</pre>
</li>
<script type="text/javascript">
window.location.href = '/docs/';
</script>
<title>ToolJet</title>
</head>
<body>
If you are not redirected automatically, follow this
<a href="/docs/">link</a>.
</body>
</html>