prepare release

uci-hugo-doc
Robert Kaussow 2020-12-22 13:45:25 +01:00
parent 0569404446
commit f11fb7d21b
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
4 changed files with 10 additions and 4 deletions

View File

@ -3,3 +3,4 @@
- Use option `geekdocSearchShowParent` to group search results by parent #38 (@LukasHirt).
This is changing the current behavior of prefixing search results with the parent by
grouped nested lists.
- Add `ok` color option for `hint` shortcode

View File

@ -1,5 +1,5 @@
Hint shortcode can be used as hint/alerts/notification block.
There are 3 colors to choose: `info`, `warning` and `danger`.
There are four colors to choose: `info`, `ok`, `warning` and `danger`.
```tpl
{{</* hint [info|warning|danger] */>}}
@ -17,6 +17,12 @@ Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclima
Ornateness bland it ex enc, est yeti am bongo detract re.
{{< /hint >}}
{{< hint ok >}}
**Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re.
{{< /hint >}}
{{< hint warning >}}
**Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.

View File

@ -29,8 +29,6 @@ content/
└── level-2-2.md
```
Generated navigation:
[![Example file-tree menu](/media/file-tree.png)](/media/file-tree.png)
## Bundle menu
@ -70,7 +68,7 @@ As an advantage you can add icons to your menu entries e.g. `icon: "notification
### More menu
{{< hint info >}}
{{< hint ok >}}
**Tip**\
The more menu is special type of the bundle menu and can be combined with the default file-tree menu.
{{< /hint >}}

View File

@ -52,6 +52,7 @@ $sm-breakpoint: $menu-width + $body-min-width + 3rem !default;
// Panel colors
$hint-colors: (
info: rgba(102, 187, 255, 1),
ok: rgba(139, 195, 74, 1),
warning: rgba(255, 221, 102, 1),
danger: rgba(255, 102, 102, 1),
) !default;