@x-wave/blog 2.1.8 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/consts/navigation.ts +2 -3
- package/index.js +887 -899
- package/package.json +1 -1
- package/types/index.ts +0 -1
package/README.md
CHANGED
package/consts/navigation.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { NavigationEntry } from 'types'
|
|
2
2
|
|
|
3
|
-
// Navigation structure
|
|
3
|
+
// Navigation structure - defines the sidebar menu order and grouping
|
|
4
4
|
// - Individual item titles are loaded from their MDX frontmatter
|
|
5
5
|
// - Section titles are i18n keys (e.g., 'nav.helpResources') and will be translated
|
|
6
6
|
// Optional properties:
|
|
7
7
|
// - hasAdvanced: boolean - indicates if the page has an advanced version
|
|
8
|
-
// - showTableOfContents: boolean - set to false to hide "On this page" section (default: true)
|
|
9
8
|
// - defaultOpen: boolean - for sections, set to true to have them open by default
|
|
9
|
+
// Note: showTableOfContents is configured in each article's frontmatter, not here
|
|
10
10
|
export const NAVIGATION_DATA: NavigationEntry[] = [
|
|
11
11
|
{
|
|
12
12
|
slug: 'welcome',
|
|
@@ -17,7 +17,6 @@ export const NAVIGATION_DATA: NavigationEntry[] = [
|
|
|
17
17
|
items: [
|
|
18
18
|
{
|
|
19
19
|
slug: 'glossary',
|
|
20
|
-
showTableOfContents: true,
|
|
21
20
|
},
|
|
22
21
|
{
|
|
23
22
|
slug: 'faq',
|