feat: group fi “docs” together

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2023-07-19 18:36:09 +02:00
parent 7155a112ab
commit 6d2fbe704a
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -36,7 +36,6 @@ class Subject {
type: "doc", type: "doc",
docId: `${this.subject}-intro`, docId: `${this.subject}-intro`,
docsPluginId: this.subject, docsPluginId: this.subject,
position: "left",
label: `${this.subject.toUpperCase()}: ${this.description}`, label: `${this.subject.toUpperCase()}: ${this.description}`,
}; };
} }
@ -133,7 +132,11 @@ const config = {
navbar: { navbar: {
title: "mf", title: "mf",
items: [ items: [
...subjects.map((s) => s.navbar()), {
type: "dropdown",
label: "Additional FI MU materials",
items: subjects.map((s) => s.navbar()),
},
{ {
to: "contributions", to: "contributions",
label: "Contributions", label: "Contributions",