This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 04f7e918e5 fix doc version display (#422)
04f7e918e5 is described below
commit 04f7e918e52f54c17a77c849701a4edfb4141509
Author: Beacontownfc <[email protected]>
AuthorDate: Mon Jul 11 23:42:22 2022 +0800
fix doc version display (#422)
---
docusaurus.config.js | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 03b7b215ea..c37ff8d864 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -109,7 +109,7 @@ const darkCodeTheme =
require('prism-react-renderer/themes/dracula');
label: 'Home',
activeBaseRegex: `^/$`,
},
- {
+ /*{
type: 'docsVersionDropdown',
position: 'right',
dropdownActiveClassDisabled: true,
@@ -119,7 +119,7 @@ const darkCodeTheme =
require('prism-react-renderer/themes/dracula');
label: 'All versions',
},
],
- },
+ },*/
{
to: '/faq/main',
position: 'left',
@@ -162,6 +162,20 @@ const darkCodeTheme =
require('prism-react-renderer/themes/dracula');
position: 'left',
activeBaseRegex: `/user`,
},
+ {
+ label: 'Doc',
+ position: 'right',
+ items: [
+ {label: 'Next(1.1.3)', to: '/docs/1.1.3/introduction'},
+ {label: '1.1.2', to: '/docs/latest/introduction'},
+ {label: '1.1.1', to: '/docs/1.1.1/introduction'},
+ {label: '1.1.0', to: '/docs/1.1.0/introduction'},
+ {label: '1.0.3', to: '/docs/1.0.3/introduction'},
+ {label: '1.0.2', to: '/docs/1.0.2/introduction'},
+ {label: '0.11.0', to: '/docs/0.11.0/introduction'},
+ {label: 'All Version', to: '/versions'}
+ ]
+ },
{
label: 'ASF',
position: 'left',
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]