Skip to content

Commit eb5d26b

Browse files
author
Marek Suchánek
committed
Document the metadata option
1 parent ea8c50f commit eb5d26b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/using-newdoc.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ When generating a new file, `newdoc` warns you if a file by that name already ex
249249

250250
* To generate the file without the example, placeholder content, add the `--no-examples` or `-E` option when creating documents.
251251

252+
* To generate the file without the metadata attributes header, add the `--no-metadata` or `-D` option when creating documents.
253+
252254
* By default, the content type prefix appears in the generated file name and not in the ID (anchor). To change this behavior, use the following options:
253255
+
254256
`--no-file-prefixes` or `-P`:: Disables the file-name prefix.
@@ -289,9 +291,10 @@ The configuration file has the following syntax:
289291

290292
[source,toml]
291293
----
292-
# These are the default values as of newdoc 2.17:
294+
# These are the default values as of newdoc 2.18:
293295
comments = false
294296
examples = true
297+
metadata = true
295298
file_prefixes = true
296299
anchor_prefixes = false
297300
simplified = false

0 commit comments

Comments
 (0)