Refactor documentation structure and update links; remove outdated content

This commit is contained in:
2026-04-25 13:53:11 +03:00
parent f622c09fd4
commit 8cee39ad1c
20 changed files with 12 additions and 525 deletions

View File

@@ -10,8 +10,8 @@ const shouldRenderSearch =
const topLinks = [
{ label: 'Старт', href: '/getting-started/' },
{ label: 'Гайды', href: '/guides/' },
{ label: 'Механики', href: '/mechanics/' },
{ label: 'Команды', href: '/commands/' },
{ label: 'Города', href: '/cities/' },
{ label: 'FAQ', href: '/faq/' },
{ label: 'Правила', href: '/rules/' }
];
@@ -427,7 +427,8 @@ const topLinks = [
};
const enhanceSidebarGroupLinks = () => {
const targets = [{ label: 'Алкоголь', href: '/alcohol/' }];
const targets = [];
if (targets.length === 0) return;
const labelNodes = document.querySelectorAll('.sidebar-content details > summary .group-label .large');
labelNodes.forEach((labelNode) => {