1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-03-05 19:18:18 +00:00

Categories: Write docs

This commit is contained in:
Timur Ismagilov 2022-03-26 19:04:51 +03:00
parent b87ed40425
commit 9a55a520c0
3 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
= Help
This is documentation for **Mycorrhiza Wiki** 1.8.
This is documentation for **Mycorrhiza Wiki** 1.9.
//Choose a topic from the list.//

9
help/en/category.myco Normal file
View File

@ -0,0 +1,9 @@
= Categories
A **category** is a means of organizing of hyphae in a non-hierarchical way. Each category has a name and one or more hyphae in it. Each hypha can be part of zero or more categories.
On hypha pages, a card titled Categories is shown. There, you can see the list of categories the hypha is part of. If you are authorized to, you can also modify them: remove the hypha from a category and add to a new one.
Category names follow the same rules as hypha names: case-insensitive, spaces and underscores are the same.
To see the list of all categories, see:
=> /category

View File

@ -26,6 +26,7 @@ var helpTopicsL10n = map[string][]string{
"lock": {"Lock", "Блокировка"}, // Не Замок ли?
"whitelist": {"Whitelist", "Белый список"},
"telegram": {"Telegram authentication", "Вход через Телеграм"},
"category": {"Categories", "Категории"},
}
const helpTopicTemplate = `<aside class="help-topics layout-card">
@ -38,6 +39,7 @@ const helpTopicTemplate = `<aside class="help-topics layout-card">
</ul>
</li>
<li>{{l "mycomarkup" | a "/mycomarkup"}}</li>
<li>{{l "category" | a "/category"}}</li>
<li>{{l "interface"}}
<ul>
<li>{{l "prevnext" | a "/prevnext"}}</li>