mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Merge pull request #10382 from ToolJet/docs/upgrade-docusaurus
[docs]: upgrade docusaurus to 3.4.0
This commit is contained in:
commit
f27cd3e360
4 changed files with 1989 additions and 1455 deletions
|
|
@ -34,7 +34,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
logo: {
|
logo: {
|
||||||
href: '/docs',
|
href: '/docs/',
|
||||||
alt: 'ToolJet Logo',
|
alt: 'ToolJet Logo',
|
||||||
src: 'img/Logomark.svg',
|
src: 'img/Logomark.svg',
|
||||||
srcDark: `img/Logomark_white.svg`,
|
srcDark: `img/Logomark_white.svg`,
|
||||||
|
|
@ -151,6 +151,17 @@ module.exports = {
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
devServerPlugin,
|
devServerPlugin,
|
||||||
'plugin-image-zoom'
|
'plugin-image-zoom',
|
||||||
|
[
|
||||||
|
'@docusaurus/plugin-client-redirects',
|
||||||
|
{
|
||||||
|
redirects: [
|
||||||
|
{
|
||||||
|
to: '/docs/',
|
||||||
|
from: '/',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
3393
docs/package-lock.json
generated
3393
docs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -14,14 +14,15 @@
|
||||||
"write-heading-ids": "docusaurus write-heading-ids"
|
"write-heading-ids": "docusaurus write-heading-ids"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^3.2.1",
|
"@docusaurus/core": "^3.4.0",
|
||||||
"@docusaurus/plugin-google-gtag": "^3.2.1",
|
"@docusaurus/plugin-client-redirects": "^3.4.0",
|
||||||
"@mdx-js/react": "^3.0.1",
|
"@docusaurus/plugin-google-gtag": "^3.4.0",
|
||||||
"prism-react-renderer": "^2.1.0",
|
"@docusaurus/plugin-sitemap": "^3.4.0",
|
||||||
"@docusaurus/plugin-sitemap": "^3.2.1",
|
|
||||||
"@docusaurus/preset-classic": "^3.2.1",
|
"@docusaurus/preset-classic": "^3.2.1",
|
||||||
|
"@mdx-js/react": "^3.0.1",
|
||||||
"clsx": "^2.0.0",
|
"clsx": "^2.0.0",
|
||||||
"plugin-image-zoom": "github:flexanalytics/plugin-image-zoom",
|
"plugin-image-zoom": "github:flexanalytics/plugin-image-zoom",
|
||||||
|
"prism-react-renderer": "^2.1.0",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
21
docs/static/index.html
vendored
21
docs/static/index.html
vendored
|
|
@ -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>
|
|
||||||
Loading…
Reference in a new issue