diff --git a/docusaurus.config.js b/docusaurus.config.js index 77bf2514902..5741d5b5949 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -111,6 +111,13 @@ async function createconfig() { docsPluginId: 'contracts', dropdownActiveClassDisabled: true }, + { + type: 'docsVersionDropdown', + position: 'right', + dropdownItemsAfter: [{ to: '/predicates/predicates', label: 'Latest version' }], + docsPluginId: 'predicates', + dropdownActiveClassDisabled: true + }, { type: 'docsVersionDropdown', position: 'right', @@ -217,6 +224,14 @@ async function createconfig() { routeBasePath: 'contracts/' } ], + [ + '@docusaurus/plugin-content-docs', + { + id: 'predicates', + path: 'predicates', + routeBasePath: 'predicates/' + } + ], [ '@docusaurus/plugin-content-docs', { diff --git a/predicates/.keepme b/predicates/.keepme deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/predicates_versions.json b/predicates_versions.json new file mode 100644 index 00000000000..0d4f101c7a3 --- /dev/null +++ b/predicates_versions.json @@ -0,0 +1,2 @@ +[ +] diff --git a/sidebars.js b/sidebars.js index d099b24f947..1369f5d9fe4 100644 --- a/sidebars.js +++ b/sidebars.js @@ -62,6 +62,11 @@ const sidebars = { label: "Smart contracts", href: '/contracts', }, + { + type: 'link', + label: 'Governance Predicates', + href: '/predicates/predicates', + }, { type: 'link', label: "Modules",