docs: change link format

This commit is contained in:
TEC 2022-09-26 02:19:42 +08:00 committed by Henrik Lissner
parent 58fb83c98e
commit 5ac2a5258b
160 changed files with 1161 additions and 1152 deletions

View file

@ -4,7 +4,7 @@
#+since: 2.0.0
* Description :unfold:
This module adds file templates for blank files, powered by [[doom-package:][yasnippet]].
This module adds file templates for blank files, powered by [[doom-package:yasnippet]].
** Maintainers
- [[doom-user:][@hlissner]]
@ -18,7 +18,7 @@ This module adds file templates for blank files, powered by [[doom-package:][yas
/This module doesn't install any packages./
** Hacks
- [[doom-package:][yasnippet]]
- [[doom-package:yasnippet]]
** TODO Changelog
# This section will be machine generated. Don't edit it by hand.
@ -60,13 +60,13 @@ A special command is available for inserting software licenses: ~M-x
New file templates can be added to
=$DOOMDIR/snippets/{major-mode}/{snippet-name}=. The yasnippet documentation
covers [[https://joaotavora.github.io/yasnippet/snippet-development.html][how to write a snippet]]. You can map a snippet to a file path, major mode,
or another arbitrary predicate using [[fn:][set-file-template!]].
or another arbitrary predicate using [[fn:set-file-template!]].
Look into its documentation with [[kbd:][<help> f set-file-template\!]].
** Adding new OSS licenses
Add snippet files to =$DOOMDIR/snippets/text-mode/= with the =__licenses-=
prefix and [[fn:][+file-templates/insert-license]] will recognize them. E.g.
prefix and [[fn:+file-templates/insert-license]] will recognize them. E.g.
=$DOOMDIR/snippets/text-mode/__license-mit=.
* Troubleshooting

View file

@ -39,7 +39,7 @@ the purpose of the module and the features/technology(ies) it provides.
Display X in a [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Child-Frames.html][child frame]] rather than an overlay or tooltip. *Requires GUI
Emacs.*
- +lsp ::
Enable LSP support for ~X-mode~. Requires [[doom-module:][:tools lsp]] and a
Enable LSP support for ~X-mode~. Requires [[doom-module::tools lsp]] and a
langserver (supports A, B, and C).
# If this module has no flags, then...
@ -52,13 +52,13 @@ the purpose of the module and the features/technology(ies) it provides.
#+end_quote
** Packages
- [[doom-package:][org]]
- [[doom-package:][org-contrib]] if [[doom-module:][+contrib]]
- [[doom-package:][org-bullets]] unless [[doom-module:][+bullets]]
- if [[doom-module:][+present]]
- [[doom-package:][centered-window]]
- [[doom-package:][org-tree-slide]]
- [[doom-package:][org-re-reveal]]
- [[doom-package:org]]
- [[doom-package:org-contrib]] if [[doom-module:+contrib]]
- [[doom-package:org-bullets]] unless [[doom-module:+bullets]]
- if [[doom-module:+present]]
- [[doom-package:centered-window]]
- [[doom-package:org-tree-slide]]
- [[doom-package:org-re-reveal]]
# If this module installs no packages, then...
/This module doesn't install any packages./