From 9a55a520c0e86adaac5712b0ec2fe91ceee4454e Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Sat, 26 Mar 2022 19:04:51 +0300 Subject: [PATCH] Categories: Write docs --- help/en.myco | 2 +- help/en/category.myco | 9 +++++++++ views/help.go | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 help/en/category.myco diff --git a/help/en.myco b/help/en.myco index 0fd8355..40bd556 100644 --- a/help/en.myco +++ b/help/en.myco @@ -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.// diff --git a/help/en/category.myco b/help/en/category.myco new file mode 100644 index 0000000..0c22e05 --- /dev/null +++ b/help/en/category.myco @@ -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 diff --git a/views/help.go b/views/help.go index deda45a..e637c88 100644 --- a/views/help.go +++ b/views/help.go @@ -26,6 +26,7 @@ var helpTopicsL10n = map[string][]string{ "lock": {"Lock", "Блокировка"}, // Не Замок ли? "whitelist": {"Whitelist", "Белый список"}, "telegram": {"Telegram authentication", "Вход через Телеграм"}, + "category": {"Categories", "Категории"}, } const helpTopicTemplate = `