mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
prepare release
This commit is contained in:
parent
0569404446
commit
f11fb7d21b
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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 >}}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user