docs: redesign table of content (#12647)

* implement toc

* added to projects

* fixes and adapt for references

* added product frontmatter

* remove action menu from 404 pages
This commit is contained in:
Shahed Nasser
2025-05-30 16:55:36 +03:00
committed by GitHub
parent 490bd7647f
commit 009d00f27d
293 changed files with 1975 additions and 506 deletions
@@ -23,7 +23,7 @@ The Analytics Module is available starting [Medusa v2.8.3](https://github.com/me
expandMembers: true,
sortMembers: true,
startSections: [
`### Configure Analytics Module Provider
`## Configure Analytics Module Provider
To use the Analytics Module, you need to configure it along with an Analytics Module Provider.
@@ -6,6 +6,7 @@ const eventsOptions: FormattingOptionsType = {
frontmatterData: {
slug: "/references/events",
sidebar_label: "Events Reference",
generate_toc: true,
},
isEventsReference: true,
reflectionTitle: {
@@ -22,6 +23,7 @@ const eventsOptions: FormattingOptionsType = {
frontmatterData: {
slug: "/references/{{alias-slug}}/events",
sidebar_label: "Events Reference",
generate_toc: true,
},
},
}
@@ -23,6 +23,7 @@ const notificationOptions: FormattingOptionsType = {
member_declaration_title: false,
reflection_typeParameters: false,
},
maxLevel: 2,
startSections: [
`## Implementation Example