Commit graph

9 commits

Author SHA1 Message Date
Henrik Lissner
e77a45bc22
docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
Henrik Lissner
cee641ddc8
feat(docs): hide leading stars 2022-08-02 16:23:42 +02:00
Henrik Lissner
6bba5f8c03
tweak(docs): disable save-place when in documentation
Jumping to a saved position is more jarring than useful in
documentation. Especially for beginners.
2022-08-02 16:23:42 +02:00
Henrik Lissner
4661ea89f2
tweak(docs): move point to first heading on visit 2022-08-02 16:23:42 +02:00
Henrik Lissner
c4b7071397
fix(docs): don't hide src blocks indiscriminately 2022-08-02 16:23:42 +02:00
Henrik Lissner
bfa90e82e9
refactor(docs): use org-with-wide-buffer
It uses save-excursion internally and is a little safer (in case of
narrowing).
2022-08-02 16:23:38 +02:00
Henrik Lissner
1daecbe59c fix(lib): cache errors in doom-docs-mode 2022-02-01 18:55:27 +01:00
Henrik Lissner
88844e9cec docs: simplify internal docs links
Fewer links means less confusion.

- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
  Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
7bc0033d0a 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.
2021-11-21 20:04:28 +01:00