Skip to content

Commit 6afbf5d

Browse files
author
Marek Suchánek
committed
Document the prefix options; #21
1 parent acd7ff7 commit 6afbf5d

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
@@ -280,7 +280,10 @@ $ newdoc --validate modules/con_proper-module.adoc
280280

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

283-
* To create the file without the module type prefix in the ID and the file name, add the `--no-prefixes` or `-P` option.
283+
* 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:
284+
+
285+
`--no-file-prefixes` or `-P`:: Disables the file-name prefix.
286+
`--anchor-prefixes` or `-A`:: Enables the ID (anchor) prefix.
284287

285288
* To specify the directory where `newdoc` saves the generated file, add the `--target-dir=<directory>` or `-T <directory>` option.
286289

0 commit comments

Comments
 (0)