mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 14:20:42 +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).
|
- 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
|
This is changing the current behavior of prefixing search results with the parent by
|
||||||
grouped nested lists.
|
grouped nested lists.
|
||||||
|
- Add `ok` color option for `hint` shortcode
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Hint shortcode can be used as hint/alerts/notification block.
|
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
|
```tpl
|
||||||
{{</* hint [info|warning|danger] */>}}
|
{{</* 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.
|
Ornateness bland it ex enc, est yeti am bongo detract re.
|
||||||
{{< /hint >}}
|
{{< /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 >}}
|
{{< hint warning >}}
|
||||||
**Markdown content**\
|
**Markdown content**\
|
||||||
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
|
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
|
||||||
|
@ -29,8 +29,6 @@ content/
|
|||||||
└── level-2-2.md
|
└── level-2-2.md
|
||||||
```
|
```
|
||||||
|
|
||||||
Generated navigation:
|
|
||||||
|
|
||||||
[![Example file-tree menu](/media/file-tree.png)](/media/file-tree.png)
|
[![Example file-tree menu](/media/file-tree.png)](/media/file-tree.png)
|
||||||
|
|
||||||
## Bundle menu
|
## Bundle menu
|
||||||
@ -70,7 +68,7 @@ As an advantage you can add icons to your menu entries e.g. `icon: "notification
|
|||||||
|
|
||||||
### More menu
|
### More menu
|
||||||
|
|
||||||
{{< hint info >}}
|
{{< hint ok >}}
|
||||||
**Tip**\
|
**Tip**\
|
||||||
The more menu is special type of the bundle menu and can be combined with the default file-tree menu.
|
The more menu is special type of the bundle menu and can be combined with the default file-tree menu.
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
@ -52,6 +52,7 @@ $sm-breakpoint: $menu-width + $body-min-width + 3rem !default;
|
|||||||
// Panel colors
|
// Panel colors
|
||||||
$hint-colors: (
|
$hint-colors: (
|
||||||
info: rgba(102, 187, 255, 1),
|
info: rgba(102, 187, 255, 1),
|
||||||
|
ok: rgba(139, 195, 74, 1),
|
||||||
warning: rgba(255, 221, 102, 1),
|
warning: rgba(255, 221, 102, 1),
|
||||||
danger: rgba(255, 102, 102, 1),
|
danger: rgba(255, 102, 102, 1),
|
||||||
) !default;
|
) !default;
|
||||||
|
Loading…
Reference in New Issue
Block a user