Skip to content

Commit

Permalink
Обновление структуры меню. Добавленны все программы под пункт установ…
Browse files Browse the repository at this point in the history
…ки программ
  • Loading branch information
Toxblh committed Sep 8, 2023
1 parent fa30db0 commit ea93534
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 59 deletions.
151 changes: 93 additions & 58 deletions .vitepress/config.js
Original file line number Diff line number Diff line change
@@ -1,98 +1,133 @@
import { defineConfig } from 'vitepress'
import { telegram } from './icons'
import { addPlugins } from './theme/plugins/markdown'
import { defineConfig } from "vitepress";
import { telegram } from "./icons";
import { addPlugins } from "./theme/plugins/markdown";

export const META_DESCRIPTION = 'Свободная WIKI по операционной системе ALT Regular Gnome'
export const META_DESCRIPTION =
"Свободная WIKI по операционной системе ALT Regular Gnome";

// https://vitepress.dev/reference/site-config
export default defineConfig({
base: '/ALTRegularGnomeWiki/',
srcDir: './docs',
base: "/ALTRegularGnomeWiki/",
srcDir: "./docs",
title: "ALT Community",
description: META_DESCRIPTION,
themeConfig: {
logo: '/logo.png',
logo: "/logo.png",
search: {
provider: 'local',
provider: "local",
options: {
locales: {
root: {
translations: {
button: {
buttonText: 'Поиск',
buttonAriaLabel: 'Поиск'
buttonText: "Поиск",
buttonAriaLabel: "Поиск",
},
modal: {
noResultsText: 'Нет результатов по запросу',
resetButtonTitle: 'Сбросить',
noResultsText: "Нет результатов по запросу",
resetButtonTitle: "Сбросить",
footer: {
selectText: 'для выбора',
navigateText: 'для навигации',
closeText: 'закрыть'
}
}
}
}
}
}
selectText: "для выбора",
navigateText: "для навигации",
closeText: "закрыть",
},
},
},
},
},
},
},
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Главная', link: '/' },
{ text: 'Документация', link: '/wiki' },
{ text: 'Пролог',
items: [
{ text: 'О проекте', link: '/about' },
{ text: 'Возможности VitePress', link: '/vitepress' }
]}
{ text: "Главная", link: "/" },
{ text: "Документация", link: "/wiki" },
{
text: "Пролог",
items: [
{ text: "О проекте", link: "/about" },
{ text: "Возможности VitePress", link: "/vitepress" },
],
},
],
socialLinks: [
{ icon: {
svg: telegram
},
link: 'https://t.me/alt_gnome'
}
{
icon: {
svg: telegram,
},
link: "https://t.me/alt_gnome",
},
],
sidebar: [
{
text: 'Популярное',
text: "Популярное",
items: [
{ text: 'Быстрый старт', link: '/quick-start' },
{ text: 'Установка и обновление программ', link: '/introduction' },
{ text: 'Запись на DVD и USB Flash', link: '/getting-started' },
{ text: 'Алтай', link: '/altai'}
]
}
{ text: "Быстрый старт", link: "/quick-start" },
{
text: "Установка и обновление программ",
items: [
{ text: "Blender", link: "/blender" },
{ text: "Chromium", link: "/chromium" },
{ text: "Codium", link: "/codium" },
{ text: "Console", link: "/console" },
{ text: "Eog", link: "/eog" },
{ text: "Epm", link: "/epm" },
{ text: "Evince", link: "/evince" },
{ text: "Extensions", link: "/extensions" },
{ text: "Figma", link: "/figma" },
{ text: "Firefox", link: "/firefox" },
{ text: "Flatpak", link: "/flatpak" },
{ text: "Git", link: "/git" },
{ text: "GnomeSoftware", link: "/gnome-software" },
{ text: "Libreoffice", link: "/libreoffice" },
{ text: "Loupe", link: "/loupe" },
{ text: "Neofetch", link: "/neofetch" },
{ text: "Nodejs", link: "/nodejs" },
{ text: "Nvidia", link: "/nvidia" },
{ text: "Opera", link: "/opera" },
{ text: "Steam", link: "/steam" },
{ text: "Telegram", link: "/telegram" },
{ text: "Viber", link: "/viber" },
{ text: "YandexBrowser", link: "/yandex-browser" },
],
collapsed: true,
},
{ text: "Запись на DVD и USB Flash", link: "/getting-started" },

{ text: "Алтай", link: "/altai" },
],
},
],
editLink: {
pattern: 'https://github.com/OlegShchavelev/ALTRegularGnomeWiki/edit/main/docs/:path',
text: 'Предложить изменения на этой странице'
pattern:
"https://github.com/OlegShchavelev/ALTRegularGnomeWiki/edit/main/docs/:path",
text: "Предложить изменения на этой странице",
},
lastUpdated: {
text: 'Последнее обновление',
text: "Последнее обновление",
formatOptions: {
dateStyle: 'medium',
timeStyle: 'medium'
}
dateStyle: "medium",
timeStyle: "medium",
},
},
returnToTopLabel: 'Наверх',
sidebarMenuLabel: 'Меню',
returnToTopLabel: "Наверх",
sidebarMenuLabel: "Меню",
sponsor: {
message: 'Данный сервис является Open-Source проектом и его поддержка и развитие зависит от пожертвований.',
linkText: 'Поддержать проект!',
message:
"Данный сервис является Open-Source проектом и его поддержка и развитие зависит от пожертвований.",
linkText: "Поддержать проект!",
},
docFooter: {
prev: 'Предыдущая страница',
next: 'Следующая страница',
prev: "Предыдущая страница",
next: "Следующая страница",
},
outlineTitle: 'Оглавление',
outlineTitle: "Оглавление",
footer: {
copyright: 'Copyright © 2023 ALT Regular Gnome Community'
}
copyright: "Copyright © 2023 ALT Regular Gnome Community",
},
},
markdown: {
config(md) {
addPlugins(md)
addPlugins(md);
},
}
})
},
});
3 changes: 3 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Запись на DVD и USB Flash

AltMediaWriter !
2 changes: 1 addition & 1 deletion docs/gnome-software.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Установка из репозитория

**Консоль** можно установить через терминал:
**Магазин приложений** можно установить через терминал:

::: code-group

Expand Down

0 comments on commit ea93534

Please sign in to comment.