Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Dec 22, 2020
1 parent 0569404 commit f11fb7d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 7 additions & 1 deletion exampleSite/content/shortcodes/hints.md
Original file line number Diff line number Diff line change
@@ -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] */>}}
Expand All @@ -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.
Expand Down
4 changes: 1 addition & 3 deletions exampleSite/content/usage/menus.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 >}}
Expand Down
1 change: 1 addition & 0 deletions src/sass/_defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit f11fb7d

Please sign in to comment.