Don't show "Open user manual" button
...unless the manual exists (it will soon)!
This commit is contained in:
parent
3a1ba5381e
commit
b67745a9b6
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ Possible values:
|
||||||
:action +default/find-in-config)
|
:action +default/find-in-config)
|
||||||
("Open user manual"
|
("Open user manual"
|
||||||
:icon (all-the-icons-octicon "book" :face 'font-lock-keyword-face)
|
:icon (all-the-icons-octicon "book" :face 'font-lock-keyword-face)
|
||||||
|
:when (file-exists-p (expand-file-name "index.org" doom-docs-dir))
|
||||||
:action doom/open-manual))
|
:action doom/open-manual))
|
||||||
"An alist of menu buttons used by `doom-dashboard-widget-shortmenu'. Each
|
"An alist of menu buttons used by `doom-dashboard-widget-shortmenu'. Each
|
||||||
element is a cons cell (LABEL . PLIST). LABEL is a string to display after the
|
element is a cons cell (LABEL . PLIST). LABEL is a string to display after the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue