docs: add article text-editor, improved inclusion markdown blocks install

This commit is contained in:
Oleg Shchavelev 2024-04-14 20:34:50 +03:00
parent f23c4a6c63
commit 7c9a1c9d61
17 changed files with 129 additions and 25 deletions

View File

@ -33,6 +33,7 @@ export const sidebar = {
collapsed: true collapsed: true
}, { }, {
text: 'Програмное обеспечение', base: '/apps', items: [ text: 'Програмное обеспечение', base: '/apps', items: [
{ text: 'Текстовый редактор', link: '/text-editor/' },
{ text: 'Amberol', link: '/amberol/' } { text: 'Amberol', link: '/amberol/' }
], ],
collapsed: true collapsed: true
@ -53,7 +54,8 @@ export const sidebar = {
collapsed: true collapsed: true
}, { }, {
text: 'Software', base: '/en/apps', items: [ text: 'Software', base: '/en/apps', items: [
{ text: 'Amberol', link: '/amberol/' } { text: 'Amberol', link: '/amberol/' },
{ text: 'Text Editor', link: '/text-editor/' }
], ],
collapsed: true collapsed: true
}, { }, {

View File

@ -0,0 +1,9 @@
## Установка c помощью Flatpak
При наличии пакета Flatpak, можно установить **«{{ $frontmatter?.appstream?.name }}»** одной командой. Ввод терминальных команд осуществляется через вириртуальный терминал **«Консоль»** или через удаленное подключение по протоколу SSH:
```shell-vue
flatpak install flathub {{ $frontmatter?.aggregation?.flatpak }}
```
<!--@include: @apps/_parts/install/software-flatpak.md-->

View File

@ -0,0 +1,14 @@
## Установка из репозитория
Существует несколько способов установки **«{{ $frontmatter?.appstream?.name }}»** на ALT Mobile:
<!--@include: @apps/_parts/install/software-repo.md-->
**Установка через терминал**
Ввод терминальных команд осуществляется через вириртуальный терминал **«Консоль»** или через удаленное подключение по протоколу SSH:
```shell-vue
su -
apt-get install {{ $frontmatter?.aggregation?.sisyphus }}
```

View File

@ -0,0 +1,3 @@
:::tip Удобнее через Центр приложений :thinking:
Перейдите по ссылке для <a :href="'appstream://' + $frontmatter?.appstream?.id">установки **«{{$frontmatter?.appstream?.name }}»**</a>, затем в браузере подтвердите операцию «открыть приложение». После этого откроется Центр приложений, выберите в нём источник **«Flathub»** и нажмите кнопку «скачать»
:::

View File

@ -0,0 +1,6 @@
**Установка с помощью Центра приложений**
:::info В три клика :blush:
Перейдите по ссылке <a :href="'appstream://' + $frontmatter?.appstream?.id">установить **«{{$frontmatter?.appstream?.name }}»**</a> и подтвердите в браузере операцию «открыть приложение» Откроется Центр приложений, выберите в нём cоответствующий источник, и нажмите кнопку «скачать»
:::

View File

@ -29,13 +29,13 @@ Amberol воспроизводит музыку и ничего больше.
## Установка из репозитория ## Установка из репозитория
Существует несколько способов установки Amberol на ALT Mobile: Существует несколько способов установки **«Amberol»** на ALT Mobile:
<!--@include: @apps/parts/install/software-repo.md--> <!--@include: @apps/_parts/install/software-repo.md-->
**Установка через терминал** **Установка через терминал**
Ввод терминальных команд осуществляется через вириртуальный терминал Консоль или через удаленное подключение по протоколу SSH: Ввод терминальных команд осуществляется через вириртуальный терминал **«Консоль»** или через удаленное подключение по протоколу SSH:
```shell ```shell
su - su -
@ -44,10 +44,10 @@ apt-get install amberoll
## Установка c помощью Flatpak ## Установка c помощью Flatpak
При наличии пакета Flatpak, можно установить Amberol одной командой. Ввод терминальных команд осуществляется через вириртуальный терминал Консоль или через удаленное подключение по протоколу SSH: При наличии пакета Flatpak, можно установить **«Amberol»** одной командой. Ввод терминальных команд осуществляется через вириртуальный терминал **«Консоль»** или через удаленное подключение по протоколу SSH:
```shell ```shell
flatpak install io.bassi.Amberol flatpak install io.bassi.Amberol
``` ```
<!--@include: @apps/parts/install/software-flatpak.md--> <!--@include: @apps/_parts/install/software-flatpak.md-->

View File

@ -1,3 +0,0 @@
:::tip Удобнее через Центр приложений :thinking:
Перейдите по ссылке для <a :href="'appstream://' + $frontmatter?.appstream?.id">установки {{ $frontmatter?.appstream?.name }}</a>, затем в браузере подтвердите операцию «открыть приложение». После этого откроется Центр приложений, выберите в нём источник **«Flathub»** и нажмите кнопку «скачать»
:::

View File

@ -1,6 +0,0 @@
**Установка с помощью Центра приложений**
:::info В три клика :blush:
Перейдите по ссылке <a :href="'appstream://' + $frontmatter?.appstream?.id">установить {{ $frontmatter?.appstream?.name }}</a> и подтвердите в браузере операцию «открыть приложение» Откроется Центр приложений, выберите в нём cоответствующий источник, и нажмите кнопку «скачать»
:::

View File

@ -0,0 +1,28 @@
---
aggregation:
flatpak: org.gnome.TextEditor
sisyphus: gnome-text-editor
appstream:
id: org.gnome.TextEditor
name: Текстовый редактор
icon: https://dl.flathub.org/media/org/gnome/TextEditor.desktop/9ec363285df05d78910df11dd389e142/icons/128x128/org.gnome.TextEditor.desktop.png
summary: Редактирование текстовых файлов
keywords:
- core
developer:
name: GNOME
metadata_license:
name: GNU GPLv3
link: https://choosealicense.com/licenses/gpl-3.0/
url:
homepage: https://apps.gnome.org/TextEditor/
translate: https://l10n.gnome.org/module/gnome-text-editor/
bugtracker: https://gitlab.gnome.org/GNOME/gnome-text-editor/issues
---
# Текстовый редактор
GNOME Text Editor — это простой текстовый редактор, простой и понятный пользовательский интерфейс.
<!--@include: @apps/_parts/install/content-repo.md-->
<!--@include: @apps/_parts/install/content-flatpak.md-->

View File

@ -0,0 +1,9 @@
## Installation using Flatpak
If you have the Flatpak package, you can install **«{{ $frontmatter?.appstream?.name }}»** with one command. Terminal commands are entered via the virtual terminal **«Console»** or via a remote SSH connection:
```shell-vue
flatpak install flathub {{ $frontmatter?.aggregation?.flatpak }}
```
<!--@include: @en/apps/_parts/install/software-flatpak.md-->

View File

@ -0,0 +1,14 @@
## Installation from the repository
There are several ways to install **«{{ $frontmatter?.appstream?.name }}»** on ALT Mobile:
<!--@include: @en/apps/_parts/install/software-repo.md-->
**Installation via the terminal**
The execution of terminal commands is carried out through a virtual terminal **«Console»** or through a remote SSH connection:
```shell-vue
su -
apt-get install {{ $frontmatter?.aggregation?.sisyphus }}
```

View File

@ -0,0 +1,3 @@
:::tip Through the Application Center :thinking:
Follow the link for <a :href="'appstream://' + $frontmatter?.appstream?.id">install **«{{$frontmatter?.appstream?.name }}»**</a>, then confirm the "open application" operation in the browser. After that, the Application Center opens, select the source **"Flathub"** in it and click the "download" button
:::

View File

@ -0,0 +1,5 @@
**Installation using the Application Center**
:::info In three clicks :blush:
Follow the link <a :href="'appstream://' + $frontmatter?.appstream?.id">install **«{{$frontmatter?.appstream?.name }}»**</a> and confirm the "open application" operation in the browser, the Application Center will open, select the appropriate source in it, and click the "download" button
:::

View File

@ -31,7 +31,7 @@ Amberol plays music and nothing else.
There are several ways to install Amberol on ALT Mobile: There are several ways to install Amberol on ALT Mobile:
<!--@include: @en/apps/parts/install/software-repo.md--> <!--@include: @en/apps/_parts/install/software-repo.md-->
**Installation via the terminal** **Installation via the terminal**
@ -50,4 +50,4 @@ If you have the Flatpak package, you can install Amberol with one command. Termi
flatpak install io.bassi.Amberol flatpak install io.bassi.Amberol
``` ```
<!--@include: @en/apps/parts/install/software-flatpak.md--> <!--@include: @en/apps/_parts/install/software-flatpak.md-->

View File

@ -1,3 +0,0 @@
:::tip Through the Application Center :thinking:
Follow the link for <a :href="'appstream://' + $frontmatter?.appstream?.id">install {{$frontmatter?.appstream?.name }}</a>, then confirm the "open application" operation in the browser. After that, the Application Center opens, select the source **"Flathub"** in it and click the "download" button
:::

View File

@ -1,5 +0,0 @@
**Installation using the Application Center**
:::info In three clicks :blush:
Follow the link <a :href="'appstream://' + $frontmatter?.appstream?.id">install {{$frontmatter?.appstream?.name }}</a> and confirm the "open application" operation in the browser, the Application Center will open, select the appropriate source in it, and click the "download" button
:::

View File

@ -0,0 +1,28 @@
---
aggregation:
flatpak: org.gnome.TextEditor
sisyphus: gnome-text-editor
appstream:
id: org.gnome.TextEditor
name: Text Editor
icon: https://dl.flathub.org/media/org/gnome/TextEditor.desktop/9ec363285df05d78910df11dd389e142/icons/128x128/org.gnome.TextEditor.desktop.png
summary: Редактирование текстовых файлов
keywords:
- core
developer:
name: GNOME
metadata_license:
name: GNU GPLv3
link: https://choosealicense.com/licenses/gpl-3.0/
url:
homepage: https://apps.gnome.org/TextEditor/
translate: https://l10n.gnome.org/module/gnome-text-editor/
bugtracker: https://gitlab.gnome.org/GNOME/gnome-text-editor/issues
---
# Text Editor
GNOME Text Editor is a simple text editor focused on a pleasing default experience.
<!--@include: @en/apps/_parts/install/content-repo.md-->
<!--@include: @en/apps/_parts/install/content-flatpak.md-->