docs: add doom-docs-mode & doom-docs-org-mode

These two modes exist to provide a nicer reading experience while
viewing Doom's org documentation from within Emacs; they hide
meta-lines, comments, markup, and more.

They also enable our docs to use IDs for links and keep our ID db
separate from any user ID dbs.
This commit is contained in:
Henrik Lissner 2021-10-16 01:31:57 +02:00 committed by Henrik Lissner
parent b5a2aa48fe
commit 7bc0033d0a
6 changed files with 500 additions and 133 deletions

View file

@ -1,3 +1,3 @@
((nil (git-commit-major-mode . git-commit-elisp-text-mode)
(fill-column . 80))
(org-mode (buffer-read-only . t)))
((nil (git-commit-major-mode . git-commit-elisp-text-mode)
(fill-column . 80))
(org-mode (mode . doom-docs-org)))