From 13baa9fda5d18e3068bc09c37c5503da0ed4a7e2 Mon Sep 17 00:00:00 2001 From: Sebastian Bezold Date: Mon, 15 Jan 2024 13:10:45 +0100 Subject: [PATCH] docs: delete unused content to avoid confusion --- docs-products/products/portal.md | 1 - docs-products/products/sldt.md | 5 --- ...understanding-multi-instance_versioning.md | 2 -- docusaurus.config.js | 9 ----- sidebarsDocsProducts.js | 34 ------------------- 5 files changed, 51 deletions(-) delete mode 100644 docs-products/products/portal.md delete mode 100644 docs-products/products/sldt.md delete mode 100644 sidebarsDocsProducts.js diff --git a/docs-products/products/portal.md b/docs-products/products/portal.md deleted file mode 100644 index 739503cfe61..00000000000 --- a/docs-products/products/portal.md +++ /dev/null @@ -1 +0,0 @@ -# Portal diff --git a/docs-products/products/sldt.md b/docs-products/products/sldt.md deleted file mode 100644 index 4e30f8130cf..00000000000 --- a/docs-products/products/sldt.md +++ /dev/null @@ -1,5 +0,0 @@ -# Semantic-Layer-Digital-Twin (SLDT) - -## Registry - -## Hub diff --git a/docs/website-guidelines/understanding-multi-instance_versioning.md b/docs/website-guidelines/understanding-multi-instance_versioning.md index 2b12f68a6e8..c7e3fb6a133 100644 --- a/docs/website-guidelines/understanding-multi-instance_versioning.md +++ b/docs/website-guidelines/understanding-multi-instance_versioning.md @@ -11,7 +11,6 @@ We have structured our documentation i a way that it's divided in 3 instances/fo - `./docs` -> dedicated to the `Developer Hub` content (not versioned) - `./docs-kits` -> dedicated to the `KITs` content (versioned) -- `./docs-products` -> dedicated to the `products` content (not in use yet) With this structure we are able to have a better control and organisation of the code, and also allow us to have separated versions for each `instance` if needed. @@ -19,7 +18,6 @@ Each instance/folder's sidebar is also defined in a separate file, like follows: - `./docs` -> `sidebars.js` - `./docs-kits` -> `sidebarsDocskits.js` -- `./docs-products` -> `sidebarsDocsProducts.js` To understand and know more about the multi-instance [setup](https://docusaurus.io/docs/2.2.0/docs-multi-instance#setup) check the official documentation. diff --git a/docusaurus.config.js b/docusaurus.config.js index e5b7d966882..446ae7b5b82 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -76,15 +76,6 @@ const config = { docItemComponent: "@theme/ApiItem" // Derived from docusaurus-theme-openapi-docs }, ], - [ - '@docusaurus/plugin-content-docs', - { - id: 'docs-products', - path: 'docs-products', - routeBasePath: 'docs-products', - sidebarPath: require.resolve('./sidebarsDocsProducts.js'), - }, - ], // -- Community -- [ '@docusaurus/plugin-content-blog', diff --git a/sidebarsDocsProducts.js b/sidebarsDocsProducts.js deleted file mode 100644 index fe1aca858fb..00000000000 --- a/sidebarsDocsProducts.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Creating a sidebar enables you to: - - create an ordered group of docs - - render a sidebar for each doc of that group - - provide next/previous navigation - - The sidebars can be generated from the filesystem, or explicitly defined here. - - Create as many sidebars as you want. - */ - -// @ts-nocheck - -/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ -const sidebars = { - products: [ - { - type: 'category', - label: 'Products', - link: { - type: 'generated-index', - }, - collapsed: true, - items: [ - { - type: 'autogenerated', - dirName: 'products', - }, - ], - }, - ], -}; - -module.exports = sidebars;