mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-09 12:57:25 -05:00
refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is active), a literal header is unnecessary.
This commit is contained in:
@ -14,12 +14,7 @@
|
||||
(format "doom-module-issues::%s %s" category module)))))))
|
||||
|
||||
(defvar doom-cli-docs-common-menu
|
||||
`(("↖ Github"
|
||||
. ,(fn! (&key readme)
|
||||
(if (file-exists-p! readme doom-modules-dir)
|
||||
(format "doom-repo:tree/develop/modules/%s" (string-remove-prefix "./" (file-name-directory readme)))
|
||||
(format "doom-repo:tree/develop/%s" (string-remove-prefix "./../" readme)))))
|
||||
("± Suggest edits" . "doom-suggest-edit:")
|
||||
`(("± Suggest edits" . "doom-suggest-edit:")
|
||||
("? Help"
|
||||
. ,(fn! (&key title)
|
||||
(cond ((equal title "Changelog") "doom-help-changelog:")
|
||||
|
Reference in New Issue
Block a user