Skip to content

Commit 5a0b761

Browse files
authored
fix: remove duplicate "index" entries from meta.json to fix next/prev navigation (#537)
Closes #533 Folder meta.json files listed "index" explicitly in the pages array, causing fumadocs to include the index page twice in the flat navigation list — once as the folder index and once as a child page. This made the "Next" link on index/overview pages point back to themselves instead of the first child page. Fix: remove "index" from the pages array in all folder meta.json files. Fumadocs automatically uses index.mdx as the folder index page without needing it listed in pages.
1 parent 4c867c7 commit 5a0b761

20 files changed

Lines changed: 2 additions & 26 deletions

File tree

content/docs/configuration/authentication/OAuth2-OIDC/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "OAuth2 & OIDC",
33
"icon": "KeyRound",
44
"pages": [
5-
"index",
65
"---OAuth2---",
76
"apple",
87
"discord",

content/docs/configuration/authentication/SAML/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "SAML",
33
"icon": "Shield",
44
"pages": [
5-
"index",
65
"---Configuration Examples---",
76
"auth0"
87
]

content/docs/configuration/authentication/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "Authentication",
33
"icon": "Lock",
44
"pages": [
5-
"index",
65
"email",
76
"ldap",
87
"OAuth2-OIDC",

content/docs/configuration/cdn/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "File Storage & CDN",
33
"icon": "HardDrive",
44
"pages": [
5-
"index",
65
"s3",
76
"azure",
87
"firebase"

content/docs/configuration/librechat_yaml/ai_endpoints/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "AI Endpoints",
33
"icon": "Plug",
44
"pages": [
5-
"index",
65
"anyscale",
76
"apipie",
87
"cloudflare",

content/docs/configuration/librechat_yaml/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "LibreChat YAML",
33
"icon": "FileCode",
44
"pages": [
5-
"index",
65
"example",
76
"ai_endpoints",
87
"object_structure"

content/docs/configuration/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "Configuration",
33
"icon": "Settings",
44
"pages": [
5-
"index",
65
"---Core---",
76
"dotenv",
87
"librechat_yaml",

content/docs/configuration/pre_configured_ai/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "Pre-configured AI",
33
"icon": "Bot",
44
"pages": [
5-
"index",
65
"anthropic",
76
"openai",
87
"google",

content/docs/configuration/tools/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "Tools",
33
"icon": "Wrench",
44
"pages": [
5-
"index",
65
"---Image Generation---",
76
"flux",
87
"gemini_image_gen",

content/docs/development/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"title": "Development",
33
"icon": "Hammer",
44
"pages": [
5-
"index",
65
"get_started",
76
"tools_and_plugins",
87
"testing",

0 commit comments

Comments
 (0)