mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
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.
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
"title": "OAuth2 & OIDC",
|
"title": "OAuth2 & OIDC",
|
||||||
"icon": "KeyRound",
|
"icon": "KeyRound",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"---OAuth2---",
|
"---OAuth2---",
|
||||||
"apple",
|
"apple",
|
||||||
"discord",
|
"discord",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "SAML",
|
"title": "SAML",
|
||||||
"icon": "Shield",
|
"icon": "Shield",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"---Configuration Examples---",
|
"---Configuration Examples---",
|
||||||
"auth0"
|
"auth0"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Authentication",
|
"title": "Authentication",
|
||||||
"icon": "Lock",
|
"icon": "Lock",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"email",
|
"email",
|
||||||
"ldap",
|
"ldap",
|
||||||
"OAuth2-OIDC",
|
"OAuth2-OIDC",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "File Storage & CDN",
|
"title": "File Storage & CDN",
|
||||||
"icon": "HardDrive",
|
"icon": "HardDrive",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"s3",
|
"s3",
|
||||||
"azure",
|
"azure",
|
||||||
"firebase"
|
"firebase"
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "AI Endpoints",
|
"title": "AI Endpoints",
|
||||||
"icon": "Plug",
|
"icon": "Plug",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"anyscale",
|
"anyscale",
|
||||||
"apipie",
|
"apipie",
|
||||||
"cloudflare",
|
"cloudflare",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "LibreChat YAML",
|
"title": "LibreChat YAML",
|
||||||
"icon": "FileCode",
|
"icon": "FileCode",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"example",
|
"example",
|
||||||
"ai_endpoints",
|
"ai_endpoints",
|
||||||
"object_structure"
|
"object_structure"
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Configuration",
|
"title": "Configuration",
|
||||||
"icon": "Settings",
|
"icon": "Settings",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"---Core---",
|
"---Core---",
|
||||||
"dotenv",
|
"dotenv",
|
||||||
"librechat_yaml",
|
"librechat_yaml",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Pre-configured AI",
|
"title": "Pre-configured AI",
|
||||||
"icon": "Bot",
|
"icon": "Bot",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"anthropic",
|
"anthropic",
|
||||||
"openai",
|
"openai",
|
||||||
"google",
|
"google",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Tools",
|
"title": "Tools",
|
||||||
"icon": "Wrench",
|
"icon": "Wrench",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"---Image Generation---",
|
"---Image Generation---",
|
||||||
"flux",
|
"flux",
|
||||||
"gemini_image_gen",
|
"gemini_image_gen",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Development",
|
"title": "Development",
|
||||||
"icon": "Hammer",
|
"icon": "Hammer",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"get_started",
|
"get_started",
|
||||||
"tools_and_plugins",
|
"tools_and_plugins",
|
||||||
"testing",
|
"testing",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Documentation",
|
"title": "Documentation",
|
||||||
"icon": "FileText",
|
"icon": "FileText",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"examples",
|
"examples",
|
||||||
"syntax_highlighting"
|
"syntax_highlighting"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Features",
|
"title": "Features",
|
||||||
"icon": "Sparkles",
|
"icon": "Sparkles",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"---Agentic AI---",
|
"---Agentic AI---",
|
||||||
"mcp",
|
"mcp",
|
||||||
"agents",
|
"agents",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Local Installation",
|
"title": "Local Installation",
|
||||||
"icon": "Monitor",
|
"icon": "Monitor",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"docker",
|
"docker",
|
||||||
"npm",
|
"npm",
|
||||||
"helm_chart"
|
"helm_chart"
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
"---Learn---",
|
"---Learn---",
|
||||||
"features",
|
"features",
|
||||||
"user_guides",
|
"user_guides",
|
||||||
"translation",
|
|
||||||
"---Tools---",
|
"---Tools---",
|
||||||
"toolkit",
|
"toolkit",
|
||||||
"---Contributing---",
|
"---Contributing---",
|
||||||
|
"translation",
|
||||||
"development",
|
"development",
|
||||||
"documentation"
|
"documentation"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Quick Start",
|
"title": "Quick Start",
|
||||||
"icon": "Rocket",
|
"icon": "Rocket",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"local_setup",
|
"local_setup",
|
||||||
"custom_endpoints"
|
"custom_endpoints"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Remote Hosting",
|
"title": "Remote Hosting",
|
||||||
"icon": "Cloud",
|
"icon": "Cloud",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"---Hosting Platforms---",
|
"---Hosting Platforms---",
|
||||||
"digitalocean",
|
"digitalocean",
|
||||||
"docker_linux",
|
"docker_linux",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "Toolkit",
|
"title": "Toolkit",
|
||||||
"icon": "Wrench",
|
"icon": "Wrench",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"credentials-generator",
|
"credentials-generator",
|
||||||
"yaml-validator"
|
"yaml-validator"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Translation
|
||||||
icon: Languages
|
icon: Languages
|
||||||
description: A guide to contributing translations for LibreChat.
|
description: A guide to contributing translations for LibreChat.
|
||||||
---
|
---
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"title": "Translation",
|
|
||||||
"icon": "Globe",
|
|
||||||
"pages": [
|
|
||||||
"index"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
"title": "User Guides",
|
"title": "User Guides",
|
||||||
"icon": "BookOpen",
|
"icon": "BookOpen",
|
||||||
"pages": [
|
"pages": [
|
||||||
"index",
|
|
||||||
"ai_overview",
|
"ai_overview",
|
||||||
"presets",
|
"presets",
|
||||||
"mongodb"
|
"mongodb"
|
||||||
|
|||||||
Reference in New Issue
Block a user