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

@@ -1,7 +1,6 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
const showEditorDocs = process.env.PUBLIC_SHOW_EDITOR_DOCS === 'true';
export default defineConfig({
site: 'https://wiki.example.com',
@@ -82,18 +81,7 @@ export default defineConfig({
{ label: 'Все IP', link: '/all-ip/' },
{ label: 'Контакты и ссылки', link: '/contacts/' }
]
},
...(showEditorDocs
? [
{
label: 'Для редакторов',
items: [
{ label: 'Как редактировать wiki', link: '/editing/' },
{ label: 'Шаблон новой страницы', link: '/templates/new-page-template/' }
]
}
]
: [])
}
]
})
]