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:
parent
c34168fb2a
commit
1255315bfc
167 changed files with 143 additions and 338 deletions
|
@ -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:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue