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
|`--sourceDir`|`-s`| The directory where the source files are located. | N/A | * |
144
-
|`--sourceDirs`| N/A | Multiple source directories (space-separated). Cannot be used with `--sourceDir` or `--useSfdxProjectJson`. | N/A | * |
145
-
|`--useSfdxProjectJson`| N/A | Read source directories from `sfdx-project.json` packageDirectories. Cannot be used with `--sourceDir` or `--sourceDirs`. |`false`| * |
143
+
|`--sourceDir`|`-s`| The directory or directories where the source files are located. | N/A | * |
144
+
|`--useSfdxProjectJson`| N/A | Read source directories from `sfdx-project.json` packageDirectories. Cannot be used with `--sourceDir`. |`false`| * |
146
145
|`--sfdxProjectPath`| N/A | Path to directory containing `sfdx-project.json` (defaults to current directory). Only used with `--useSfdxProjectJson`. |`process.cwd()`| No |
147
146
|`--targetDir`|`-t`| The directory where the generated files will be placed. |`docs`| No |
148
147
|`--scope`|`-p`| A list of scopes to document. Values should be separated by a space, e.g --scope global public namespaceaccessible. |`[global]`| No |
@@ -158,8 +157,7 @@ apexdocs changelog --previousVersionDir force-app-previous --currentVersionDir f
158
157
|`--includeInlineHelpTextMetadata`| N/A | Whether to include the inline help text for fields in the generated files. |`false`| No |
159
158
160
159
> **Note:** The `*` in the Required column indicates that **one** of the source directory options must be specified:
161
-
> -`--sourceDir` (single directory)
162
-
> -`--sourceDirs` (multiple directories)
160
+
> -`--sourceDir` (single directory or array of directories)
163
161
> -`--useSfdxProjectJson` (read from sfdx-project.json)
164
162
>
165
163
> These options are mutually exclusive - you cannot use more than one at the same time.
@@ -396,61 +394,6 @@ There are hooks for both Markdown and Changelog operations (but not for OpenApi)
396
394
397
395
#### Markdown Hooks
398
396
399
-
##### **macros**
400
-
401
-
Allows defining custom macros that can be used in the documentation.
402
-
403
-
Macros are reusable pieces of text that can be injected into the documentation,
404
-
allowing you to define common pieces of text that you can use across multiple files.
405
-
406
-
A common use case is injecting copyright or license information, without
407
-
having to copy-paste the same text across multiple classes, polluting your
408
-
source code.
409
-
410
-
A macro can be defined in your documentation using the `{{macro_name}}` syntax.
411
-
In the configuration file, you can then define the macro behavior as a key-value pair, where the key is the name of the
412
-
macro, and the value is a function that returns the text to inject in place of the macro.
0 commit comments