From 41da5c38a6024ae5a69db6b1b5d8e5557d35c7c7 Mon Sep 17 00:00:00 2001 From: Rieks Date: Sat, 27 Apr 2024 10:41:46 +0200 Subject: [PATCH] change in ToC Signed-off-by: Rieks --- docs/terms/curated-text.md | 2 +- sidebars.js | 94 ++++++++++++++++++++------------------ 2 files changed, 51 insertions(+), 45 deletions(-) diff --git a/docs/terms/curated-text.md b/docs/terms/curated-text.md index afd4a70d7a..3bd5f5bccc 100644 --- a/docs/terms/curated-text.md +++ b/docs/terms/curated-text.md @@ -29,7 +29,7 @@ A [curated text](@) consists of two parts: - a [header](@), which is a set of key-value pairs that are designed to facilitate automated processing; - a [body](@), that contains texts that are designed for human interpretation. -[Curated texts](@) live in [curated files](@), that may have been generated, e.g. from [ingress tools](docs/overview/tev2-architecture#ingress-tools), or may have been constructed manually (using a text editor). +[Curated texts](@) live in [curated files](@), that may have been generated, e.g. from [ingress tools](/docs/overview/tev2-architecture#ingress-tools), or may have been constructed manually, e.g., by using a text editor. [Curated texts](@) are used for a variety of purposes, as they (may) contain texts that: diff --git a/sidebars.js b/sidebars.js index 8afc393ec0..982b9b1a1a 100644 --- a/sidebars.js +++ b/sidebars.js @@ -1,44 +1,5 @@ const sidebars = { tev2SideBar: [ - { label: 'Introduction-Overview', - link: { type: 'doc', 'id': 'categories/overview' }, - type: 'category', - items: [ - { type: 'autogenerated', dirName: 'overview' }, - { type: 'doc', label: 'Terminology Support', id: 'terms/patterns/terminology'}, - ] - }, - { label: 'Guides', - link: { type: 'doc', 'id': 'categories/guides' }, - type: 'category', - items: [ { type: 'autogenerated', dirName: 'guides' } ] - }, - { label: 'FAQs', - link: { type: 'doc', 'id': 'categories/faqs' }, - type: 'category', - items: [ { type: 'autogenerated', dirName: 'faqs' } ] - }, - { label: 'Manuals', - link: { type: 'doc', 'id': 'categories/manuals' }, - type: 'category', - items: - [ { label: 'Authors', - link: { type: 'doc', 'id': 'categories/manuals-author' }, - type: 'category', - items: [ { type: 'autogenerated', dirName: 'manuals/author' } ] - }, - { label: 'Contributors', - link: { type: 'doc', 'id': 'categories/manuals-contributor' }, - type: 'category', - items: [ { type: 'autogenerated', dirName: 'manuals/contributor' } ] - }, - { label: 'Curators', - link: { type: 'doc', 'id': 'categories/manuals-curator' }, - type: 'category', - items: [ { type: 'autogenerated', dirName: 'manuals/curator' } ] - }, - ], - }, { label: 'Specifications', link: { type: 'doc', 'id': 'categories/specs' }, type: 'category', @@ -65,13 +26,58 @@ const sidebars = { }, ], }, + { label: 'Miscellaneous', + link: { type: 'doc', 'id': 'categories/manuals' }, + type: 'category', + items: + [ { label: 'Introduction-Overview', + link: { type: 'doc', 'id': 'categories/overview' }, + type: 'category', + items: [ + { type: 'autogenerated', dirName: 'overview' }, + { type: 'doc', label: 'Terminology Support', id: 'terms/patterns/terminology'}, + ] + }, + { label: 'Guides', + link: { type: 'doc', 'id': 'categories/guides' }, + type: 'category', + items: [ { type: 'autogenerated', dirName: 'guides' } ] + }, + { label: 'FAQs', + link: { type: 'doc', 'id': 'categories/faqs' }, + type: 'category', + items: [ { type: 'autogenerated', dirName: 'faqs' } ] + }, + { label: 'Manuals', + link: { type: 'doc', 'id': 'categories/manuals' }, + type: 'category', + items: + [ { label: 'Authors', + link: { type: 'doc', 'id': 'categories/manuals-author' }, + type: 'category', + items: [ { type: 'autogenerated', dirName: 'manuals/author' } ] + }, + { label: 'Contributors', + link: { type: 'doc', 'id': 'categories/manuals-contributor' }, + type: 'category', + items: [ { type: 'autogenerated', dirName: 'manuals/contributor' } ] + }, + { label: 'Curators', + link: { type: 'doc', 'id': 'categories/manuals-curator' }, + type: 'category', + items: [ { type: 'autogenerated', dirName: 'manuals/curator' } ] + }, + ], + }, + { label: 'Miscellanous', + link: { type: 'doc', 'id': 'categories/miscellaneous' }, + type: 'category', + items: [ { type: 'autogenerated', dirName: 'miscellaneous' } ] + }, + ], + }, { type: 'doc', id: 'tev2-glossary'}, { type: 'doc', id: 'tev2-glossaries-demo'}, - { label: 'Miscellanous', - link: { type: 'doc', 'id': 'categories/miscellaneous' }, - type: 'category', - items: [ { type: 'autogenerated', dirName: 'miscellaneous' } ] - }, ], };