docs: add missing prefix to icon names

This commit is contained in:
Robert Kaussow 2021-08-01 22:31:47 +02:00
parent 4386d0d964
commit 4bae11bdc6
No known key found for this signature in database
GPG key ID: 4E692A2EAECC03C0

View file

@ -38,7 +38,7 @@ This type of navigation needs to be enabled first by setting `geekdocMenuBundle`
main: main:
- name: Level 1 - name: Level 1
ref: "/level-1" ref: "/level-1"
icon: "notification" icon: "gdoc_notification"
sub: sub:
- name: Level 1.1 - name: Level 1.1
ref: "/level-1/level-1-1" ref: "/level-1/level-1-1"
@ -58,7 +58,7 @@ main:
ref: "/level-2/level-2-2" ref: "/level-2/level-2-2"
``` ```
As an advantage you can add [icons](/features/icon-sets/) to your menu entries e.g. `icon: "notification"`. As an advantage you can add [icons](/features/icon-sets/) to your menu entries e.g. `icon: "gdoc_notification"`.
[![Example bundle menu](/media/bundle-menu.png)](/media/bundle-menu.png) [![Example bundle menu](/media/bundle-menu.png)](/media/bundle-menu.png)
@ -78,15 +78,15 @@ As this is a special type of the bundle menu it is basically working in the same
more: more:
- name: News - name: News
ref: "/#" ref: "/#"
icon: "notification" icon: "gdoc_notification"
- name: Releases - name: Releases
ref: "https://github.com/thegeeklab/hugo-geekdoc/releases" ref: "https://github.com/thegeeklab/hugo-geekdoc/releases"
external: true external: true
icon: "download" icon: "gdoc_download"
- name: "View Source" - name: "View Source"
ref: "https://github.com/thegeeklab/hugo-geekdoc" ref: "https://github.com/thegeeklab/hugo-geekdoc"
external: true external: true
icon: "github" icon: "gdoc_github"
``` ```
[![Example bundle menu](/media/more-menu.png)](/media/more-menu.png) [![Example bundle menu](/media/more-menu.png)](/media/more-menu.png)