diff --git a/docusaurus.config.js b/docusaurus.config.js index 20848bf379b..5f85ffca172 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -171,6 +171,13 @@ const config = { docsPluginId: 'contracts', dropdownActiveClassDisabled: true }, + { + type: 'docsVersionDropdown', + position: 'right', + dropdownItemsAfter: [{ to: '/ontology/schemas', label: 'Latest version' }], + docsPluginId: 'ontology', + dropdownActiveClassDisabled: true + }, { type: 'docsVersionDropdown', position: 'right', @@ -331,6 +338,14 @@ const config = { routeBasePath: 'contracts/' } ], + [ + '@docusaurus/plugin-content-docs', + { + id: 'ontology', + path: 'ontology', + routeBasePath: 'ontology/' + } + ], [ '@docusaurus/plugin-content-docs', { diff --git a/sidebars.js b/sidebars.js index 1aae2327bd1..0867318cfd4 100644 --- a/sidebars.js +++ b/sidebars.js @@ -35,7 +35,7 @@ const sidebars = { items: [ { type: 'doc', - id: 'technical-documentation/overview', + id: 'technical-documentation/overview' }, { type: 'category', @@ -59,24 +59,33 @@ const sidebars = { }, { type: 'link', - label: "Smart contracts", - href: '/contracts', + label: 'Smart contracts', + href: '/contracts' + }, + { + type: 'html', + value: '