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