You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/panvimdoc.txt
+18-26Lines changed: 18 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,10 @@ that goal. This way, plugin authors will have to write documentation just once
20
20
as part of the README of the project, and have the vim documentation
21
21
autogenerated.
22
22
23
-
Writing vim documentation requires conforming to a few simple rules. Although>
24
-
vimdoc< is not a well defined spec, it does have some nice syntax highlighting
25
-
and features like tags and links when a text file is in >vimdoc< compatible
26
-
format and when the >filetype=help< in vim. Also, typically, while vim
23
+
Writing vim documentation requires conforming to a few simple rules. Although
24
+
>vimdoc< is not a well defined spec, it does have some nice syntax highlighting
25
+
and features like tags and links when a text file is in >vimdoc< compatible
26
+
format and when the >filetype=help< in vim. Also, typically, while vim
27
27
documentation is just plain text files, they are usually formatted well using
28
28
whitespace. Preserving these features and characteristics is important.
29
29
@@ -96,18 +96,10 @@ comment on this issue: |https://github.com/kdheepak/panvimdoc/issues/1|.
96
96
The following are the metadata fields that the custom writer uses:
97
97
98
98
99
-
->
100
-
project
101
-
< (String) _required_: This is typically the plugin name. This is prefixed to all generated tags
102
-
->
103
-
vimdoctitle
104
-
< (String) _required_: This is the name of the documentation file that you want to generate
105
-
->
106
-
vimversion
107
-
< (String) _optional_: The version vim / neovim that the plugin is targeting. If not present, the version of vim in the available environment is used.
108
-
->
109
-
toc
110
-
< (Boolean) _optional_: Whether to generate table of contents or not
99
+
->project< (String) _required_: This is typically the plugin name. This is prefixed to all generated tags
100
+
->vimdoctitle< (String) _required_: This is the name of the documentation file that you want to generate
101
+
->vimversion< (String) _optional_: The version vim / neovim that the plugin is targeting. If not present, the version of vim in the available environment is used.
102
+
->toc< (Boolean) _optional_: Whether to generate table of contents or not
111
103
112
104
113
105
Example:
@@ -124,7 +116,7 @@ Example:
124
116
125
117
USING GITHUB ACTIONS *panvimdoc-using-github-actions*
126
118
127
-
Add the following to >./.github/workflows/pandocvim.yml<:
119
+
Add the following to >./.github/workflows/pandocvim.yml<:
128
120
129
121
>
130
122
name: panvimdoc
@@ -149,7 +141,7 @@ Add the following to > ./.github/workflows/pandocvim.yml <:
149
141
<
150
142
151
143
152
-
Choose >INPUT_FILENAME< and >OUTPUT_FILENAME< appropriately.
144
+
Choose >INPUT_FILENAME< and >OUTPUT_FILENAME< appropriately.
0 commit comments