Refactor documentation structure and update links; remove outdated content
This commit is contained in:
@@ -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/' }
|
||||
]
|
||||
}
|
||||
]
|
||||
: [])
|
||||
}
|
||||
]
|
||||
})
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user