From cff68ee9bf6aabe835ce3da5f2cd1df1aa8402e0 Mon Sep 17 00:00:00 2001 From: ozakione <29860391+OzakIOne@users.noreply.github.com> Date: Thu, 16 May 2024 15:55:04 +0200 Subject: [PATCH] wip --- website/_dogfooding/_docs tests/tags.yml | 5 +++++ website/_dogfooding/dogfooding.config.ts | 2 ++ website/docs/installation.mdx | 1 - website/docs/tags.yml | 6 ------ website/docusaurus.config.ts | 2 -- website/versioned_docs/version-3.2.1/tags.yml | 6 ------ website/versioned_docs/version-3.3.2/tags.yml | 6 ------ 7 files changed, 7 insertions(+), 21 deletions(-) create mode 100644 website/_dogfooding/_docs tests/tags.yml delete mode 100644 website/docs/tags.yml delete mode 100644 website/versioned_docs/version-3.2.1/tags.yml delete mode 100644 website/versioned_docs/version-3.3.2/tags.yml diff --git a/website/_dogfooding/_docs tests/tags.yml b/website/_dogfooding/_docs tests/tags.yml new file mode 100644 index 000000000000..2866666341a3 --- /dev/null +++ b/website/_dogfooding/_docs tests/tags.yml @@ -0,0 +1,5 @@ +open: + label: Open Source + description: Open source projects + # TODO add support for permalink + # permalink: /open diff --git a/website/_dogfooding/dogfooding.config.ts b/website/_dogfooding/dogfooding.config.ts index 7bcc7babea24..27693cc75f51 100644 --- a/website/_dogfooding/dogfooding.config.ts +++ b/website/_dogfooding/dogfooding.config.ts @@ -35,6 +35,8 @@ export const dogfoodingPluginInstances: PluginConfig[] = [ id: 'docs-tests', routeBasePath: '/tests/docs', sidebarPath: '_dogfooding/docs-tests-sidebars.js', + tagsFilePath: 'tags.yml', + onUnknownTags: 'throw', versions: { current: { noIndex: true, diff --git a/website/docs/installation.mdx b/website/docs/installation.mdx index 8b398eac1ae4..f9f29dac424f 100644 --- a/website/docs/installation.mdx +++ b/website/docs/installation.mdx @@ -1,6 +1,5 @@ --- description: How to install Docusaurus locally, and start a Docusaurus site in no time. -tags: [installation, getting-started] --- # Installation diff --git a/website/docs/tags.yml b/website/docs/tags.yml deleted file mode 100644 index c4718703baae..000000000000 --- a/website/docs/tags.yml +++ /dev/null @@ -1,6 +0,0 @@ -getting-started: - description: Get started with the basics of using the API. - label: Getting Started -installation: - description: How to install the API. - label: installation diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 416700d6d64d..aae27b1a4d8e 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -466,8 +466,6 @@ export default async function createConfigAsync() { label: `${getNextVersionName()} 🚧`, }, }, - tagsFilePath: 'tags.yml', - onBrokenTags: 'throw', }, blog: { // routeBasePath: '/', diff --git a/website/versioned_docs/version-3.2.1/tags.yml b/website/versioned_docs/version-3.2.1/tags.yml deleted file mode 100644 index b5aea8df76cb..000000000000 --- a/website/versioned_docs/version-3.2.1/tags.yml +++ /dev/null @@ -1,6 +0,0 @@ -getting-started: - description: Get started with the basics of using the API. - label: Getting Started -introduction: - description: Learn about the basics of the API. - label: Introduction diff --git a/website/versioned_docs/version-3.3.2/tags.yml b/website/versioned_docs/version-3.3.2/tags.yml deleted file mode 100644 index b5aea8df76cb..000000000000 --- a/website/versioned_docs/version-3.3.2/tags.yml +++ /dev/null @@ -1,6 +0,0 @@ -getting-started: - description: Get started with the basics of using the API. - label: Getting Started -introduction: - description: Learn about the basics of the API. - label: Introduction