From 4520240b9ee46860bce63f0ecdcf2026576078ab Mon Sep 17 00:00:00 2001 From: hywax Date: Fri, 15 Mar 2024 19:29:40 +0500 Subject: [PATCH] docs: service tags --- README.md | 1 + docs/.vitepress/locales/en.ts | 1 + docs/.vitepress/locales/ru.ts | 1 + docs/index.md | 3 ++ docs/public/reference/tags-dark.png | Bin 0 -> 10660 bytes docs/public/reference/tags.png | Bin 0 -> 11182 bytes docs/reference/configuration.md | 16 +++++++ docs/reference/tags.md | 67 ++++++++++++++++++++++++++++ docs/ru/index.md | 3 ++ docs/ru/reference/configuration.md | 16 +++++++ docs/ru/reference/tags.md | 67 ++++++++++++++++++++++++++++ docs/ru/services/base.md | 21 +++++++++ docs/services/base.md | 21 +++++++++ 13 files changed, 217 insertions(+) create mode 100644 docs/public/reference/tags-dark.png create mode 100644 docs/public/reference/tags.png create mode 100644 docs/reference/tags.md create mode 100644 docs/ru/reference/tags.md diff --git a/README.md b/README.md index 6ac007e..f0533d0 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ * 🌎 **Multi-language**. Supports multiple languages. * 🎨 **Themes**. Customize the look to your liking. * 🗂️ **Grouping**. Create custom service groups. +* 🏷️ **Tags**. Add tags to your services. * 👌 **Easy setup**. A few lines of yaml and your homepage is ready to go. * 🚀 **Fast**. Everything is fast and free of hang-ups. * 🐳 **Docker**. Optimized docker images for popular platforms. diff --git a/docs/.vitepress/locales/en.ts b/docs/.vitepress/locales/en.ts index faae0c8..5d9555f 100644 --- a/docs/.vitepress/locales/en.ts +++ b/docs/.vitepress/locales/en.ts @@ -34,6 +34,7 @@ export default defineConfig({ items: [ { text: 'Configuration', link: '/configuration' }, { text: 'Icons', link: '/icons' }, + { text: 'Tags', link: '/tags' }, { text: 'Favicons', link: '/favicons' }, ], }, diff --git a/docs/.vitepress/locales/ru.ts b/docs/.vitepress/locales/ru.ts index 63d4075..d30a1a6 100644 --- a/docs/.vitepress/locales/ru.ts +++ b/docs/.vitepress/locales/ru.ts @@ -34,6 +34,7 @@ export default defineConfig({ items: [ { text: 'Конфигурация', link: '/configuration' }, { text: 'Иконки', link: '/icons' }, + { text: 'Теги', link: '/tags' }, { text: 'Логотип', link: '/favicons' }, ], }, diff --git a/docs/index.md b/docs/index.md index 6710463..e1c4138 100644 --- a/docs/index.md +++ b/docs/index.md @@ -32,6 +32,9 @@ features: - title: Grouping icon: 🗂 details: Create custom service groups. + - title: Tags + icon: 🏷️ + details: Add tags to your services. - title: Easy setup icon: 👌 details: A few lines of yaml and your homepage is ready to go. diff --git a/docs/public/reference/tags-dark.png b/docs/public/reference/tags-dark.png new file mode 100644 index 0000000000000000000000000000000000000000..de9ea6af2867e1b4c414036382a615b5e45bb4dc GIT binary patch literal 10660 zcmd72Wmj9@7cE?*NGV>RP&||%#oaBqySqCCch_RUoub8|6xZS@?i6<@?rt~z{hu+O zk8tmsb8^Ps*}m3ZbIui|q#%j@j_BQ+H*e6Tr9dig-oSxjzwJ9*I8!vJw6CujPphq8vdp;J7R)wQ#|PuhZaXsg_C|ACTu$0E z)C2_uS+H;s5#dCHv1)Y@RZt;I$3Jlg-~RhnLP3GZN@D#h{56J+McH(TOml(;9~?+d z4r25Z#`;&nCn+4cJVy4dnF$32R)W=X_3xiph)2Y56kxu9z|Br_a#)Gz_7w8}`fx!E zg&se_ML+&)=3fV7|8I3L8oAuv4QD-FBA&@^y}r2#4+H|weyWwJd_Gi-jEWL*b!Ddn z0I*3(;|Q1x*6%O(4%k@!H)FUUD&WOTnQHI!H15gC3Cg(cJEqGI-NQ$3&xe3~2E~_w zrgRZz{j_w{L}TNk>ra0f^-f<<=d@qVDf&_rc}mg~yzb_Su&iJwakho*d9f`WeI}dzzoq;LFD<$q z)8pssi=|#qoy&e;%7y5Ff`uy3o0{Ro--Z@XDvFEox|yWZ(SO3LpUn8sw-iD&P<^l9VtG~T2?+IYTN-)g>kWocE< zdW|nGP(3Oe;@N1ofHh@?B`P!TRq^ebdjm6GKFR6z#jiqgm& zHre6haqWD4FzbB2D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A|6KPa#S!T-x$J_%t7ma>9q%#~qjmv5xS6+qRZM#29F DE{J+{ literal 0 HcmV?d00001 diff --git a/docs/public/reference/tags.png b/docs/public/reference/tags.png new file mode 100644 index 0000000000000000000000000000000000000000..513302a239d096b1228c7f48a13d022e95b74da1 GIT binary patch literal 11182 zcmd6NRa6{Jv@T9?2<{f#-911E?lwSh*Py}OVS>B6TX5Gw!a#7h!CivO<7R(8Zr?w6ciMi+?UU4P*Bh=@Aq~e5Zb-C<-XK&k`D*hNs!^IvV3oBR#IEQF)6dh+~?VC|LR@akd`c3~CLr>rwP;*L+V~ zn{g0UfiFbcVMZULZcptJ)RdL<_5VE(nLIK%UUG<~4FuG?V#YeW>th5gq_dv7g=u3@*`!cbQj)O)kZf;nV-l1`drxP4h?5(*zUS_gQ0~yfhf&6YfK`c{q@<8@EUZPm zg7~>yb&bzqS(%46<$)4-_3S(xfhj5T%G0H}UD(m7tRus}^)DBaMhOHxH^J)$>peyQ z=(eCN=DdsZjrzwzvgT065t)+CVGm%NARv0AZ(>&COv`ZLtP9iWjtsEe)PIyrrkmmO zIHB9BbRX>NKd^$0CmlUjsgKOGKQx|dwLT`TVRR8J-dqk)Dfcs_^LZr+5^Qefcl{PW zJLmIsiv~98G<)!GtVVk;<=|wVLaO70U-rU1HVhQnz?s3-XSuu5`av!X8r?mq=%GTD zd`TD5T_uC|o%P^wtCe<|`6|7i#V6{e;BTvgql{=*Jhls_Lr1>~y6s=RNwYEqM>SQ=q|`2_J68y*Soyw9^IO3R}d<-nAO{jqN%njK65METu;1*aRYiqZz+%s&-hiSxXfhWjca(pLe@Uho2k-QHl))r;$qVkT|XVl|rC zS|bbtL66V7Uz2rGKVoA~cR2bN6%~DZZmn;{#*Dx&oeZeS(QB~_JoH!WD+TA)d5*dO zI?iHU%*T3%iqQZgF)%|5D2FFK`_7kt%(db}+XRUC93sxv+9Qre<$9hl$O=qT&zQ#t zolUpuZP1>c{CX7$ETTRjBO?!o#b!FuUDSYh{uG3AA>5w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MX<*20YR({W6K}BYmpxgy>O{w>A1EGVeA$ zRCCbY5u=dWACgH^umNR9XibI-GF#su#5aGr3E*m1?er10r%xZro zLMfdO_B}1gOLNeJqhH>gsNtQOpA8r(@wVei_~SSi{cSHq(C%7e@dQV_+uVp9hCD0^ zz%+yZREXK86}A#_rADYooD^WxONV-F5Zk6z)>XshtCKBXB19o5s0!zD#Ul0reV`%s z&>>xtc9~$YkTF`};f6+w3S=4ggr@Yjx+vq|%C-8FjO^BInd<%R3H)-EE_|h++vP#- zKx>yZcC^JblNx~%mqqW`I@z?5q?6kui4S_~__A(=Gc3PSCb|K(`WHsoj7cY;e4*OB z@Vf_aJ>%{=mxcvYtVu=5kz*ijRc8CuJ8JMf;gr?XjNd!J;looxAGT9UheYpgh?^GD%v;2#pMtc(aWKb<$?eG{OX#x zqWi4N_iDDu5{{uvPS@^CgO*yzo@ z+WyCnDDhvsFII+V|DY~C{W}Ck`KoKk`tMN%_--5hUl2C%4OXnWh9;-1sPEl?3neG5 L^tndzThRXjr$ERh literal 0 HcmV?d00001 diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 3c1cfb5..e0703ee 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -82,6 +82,22 @@ Default: `_blank` If a field is defined in the service `target` it will be prioritized. More details can be found in the [basic service](../services/base.md#target). ::: +## Tags + +Tags allow you to differentiate between services. + +```yaml +tags: + - name: Home + color: green + - name: Work + color: blue +``` + +::: info +More details can be found in the [tags](../reference/tags.md) section. +::: + ## Services All services that are displayed on the home page are set in this parameter. diff --git a/docs/reference/tags.md b/docs/reference/tags.md new file mode 100644 index 0000000..dbb127f --- /dev/null +++ b/docs/reference/tags.md @@ -0,0 +1,67 @@ +# Tags + + + +Tags allow you to differentiate between services. It is quite convenient when you have several services that belong to the same project. + +## Name + +The name of the tag. + +```yaml +name: Home +``` + +To work correctly, the tag name must be unique. + +## Color + +Color of the tag. + +```yaml +color: green +``` + +Values: `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose` + +Default: `blue` + +## Examples + +Two variants of using tags are presented. These examples can be used together. + +### Global tags + +If you have common tags, it's convenient to declare them at the beginning of the file and use them everywhere. + +```yaml +tags: + - name: Home + color: green + +services: + - title: Home Assistant + description: Home automation + link: https://home-assistant.home.local/ + tags: + - Home + - title: Grafana + description: Metrics dashboard + link: https://grafana.home.local/ + tags: + - Home +``` + +### Local tags + +If you don't have common tags, it is convenient to use local tags. They are declared inside the service and are available only for it. + +```yaml +services: + - title: Home Assistant + description: Home automation + link: https://home-assistant.home.local/ + tags: + - name: Home + color: green +``` diff --git a/docs/ru/index.md b/docs/ru/index.md index 41d9c96..22d988c 100644 --- a/docs/ru/index.md +++ b/docs/ru/index.md @@ -32,6 +32,9 @@ features: - title: Группировка icon: 🗂 details: Создавайте группы сервисов + - title: Теги + icon: 🏷️ + details: Добавьте теги к вашим сервисам. - title: Простая настройка icon: 👌 details: Несколько строк yaml - и ваша домашняя страница готова к работе. diff --git a/docs/ru/reference/configuration.md b/docs/ru/reference/configuration.md index 344ea5b..565dca7 100644 --- a/docs/ru/reference/configuration.md +++ b/docs/ru/reference/configuration.md @@ -82,6 +82,22 @@ behaviour: Если в сервисе определено поле `target`, то оно будет являться приоритетным. Подробнее можно прочитать в [базовом сервисе](../services/base.md#target) ::: +## Теги + +Теги позволяют разграничивать сервисы. + +```yaml +tags: + - name: Домашние + color: green + - name: Рабочее + color: blue +``` + +::: info Информация +Более подробно о тегах можно прочитать в [разделе](../reference/tags.md). +::: + ## Сервисы Все сервисы, которые отображаются на главной странице задаются в данном параметре. diff --git a/docs/ru/reference/tags.md b/docs/ru/reference/tags.md new file mode 100644 index 0000000..f6a4bd3 --- /dev/null +++ b/docs/ru/reference/tags.md @@ -0,0 +1,67 @@ +# Теги + + + +Теги позволяют разграничивать сервисы. Довольно удобно, когда у вас есть несколько сервисов, которые относятся к одному и тому же проекту. + +## Название + +Название тега. + +```yaml +name: Дом +``` + +Для корректной работы, название тега должно быть уникальным. + +## Цвет + +Цвет тега. + +```yaml +color: green +``` + +Поддерживаемые значения: `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose` + +Значение по умолчанию: `blue` + +## Примеры + +Представлено два варианта использования тегов. Данные примеры можно использовать вместе. + +### Глобальные теги + +Если у вас есть общие теги, то удобно объявить их в начале файла и использовать везде. + +```yaml +tags: + - name: Дом + color: green + +services: + - title: Home Assistant + description: Автоматизация дома + link: https://home-assistant.home.local/ + tags: + - Дом + - title: Grafana + description: Визуализация данных + link: https://grafana.home.local/ + tags: + - Дом +``` + +### Локальные теги + +Если у вас нет общих тегов, то удобно использовать локальные теги. Они объявляются внутри сервиса и доступны только для него. + +```yaml +services: + - title: Home Assistant + description: Автоматизация дома + link: https://home-assistant.home.local/ + tags: + - name: Дом + color: green +``` diff --git a/docs/ru/services/base.md b/docs/ru/services/base.md index edc3907..43e8226 100644 --- a/docs/ru/services/base.md +++ b/docs/ru/services/base.md @@ -79,6 +79,27 @@ icon: Подробнее описано в разделе [иконки](../reference/icons.md). ::: +## Теги + +Теги позволяют разграничивать сервисы. Довольно удобно, когда у вас есть несколько сервисов, которые относятся к одному и тому же проекту. + +```yaml +tags: + - name: Дом + color: green +``` + +или из глобальных тегов: + +```yaml +tags: + - Дом +``` + +::: warning Настройка +Подробнее описано в разделе [теги](../reference/tags.md). +::: + ## Статус Mafl умеет отслеживать работоспособность сервисов по ссылке, которую вы указали. diff --git a/docs/services/base.md b/docs/services/base.md index b6900ca..afe6712 100644 --- a/docs/services/base.md +++ b/docs/services/base.md @@ -79,6 +79,27 @@ icon: See [icons](../reference/icons.md) for details. ::: +## Tags + +Tags allow you to differentiate between services. It is quite convenient when you have several services that belong to the same project. + +```yaml +tags: + - name: Home + color: green +``` + +or just a list of tags: + +```yaml +tags: + - Home +``` + +::: warning Settings +See [tags](../reference/tags.md) for details. +::: + ## Status Mafl knows how to check the health of the services in the link you provided.