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 | Yes |
117
-
|`--targetDir`|`-t`| The directory where the generated files will be placed. |`docs`| No |
118
-
|`--scope`|`-p`| A list of scopes to document. Values should be separated by a space, e.g --scope global public namespaceaccessible. |`global`| No |
119
-
|`--defaultGroupName`| N/A | The default group name to use when a group is not specified. |`Miscellaneous`| No |
120
-
|`--namespace`| N/A | The package namespace, if any. If provided, it will be added to the generated files. | N/A | No |
121
-
|`--sortAlphabetically`| N/A | Sorts files appearing in the Reference Guide alphabetically, as well as the members of a class, interface or enum alphabetically. If false, the members will be displayed in the same order as the code. |`false`| No |
122
-
|`--includeMetadata `| N/A | Whether to include the file's meta.xml information: Whether it is active and and the API version |`false`| No |
123
-
|`--linkingStrategy`| N/A | The strategy to use when linking to other classes. Possible values are `relative`, `no-link`, and `none`|`relative`| No |
114
+
| Flag | Alias | Description | Default | Required |
|`--sourceDir`|`-s`| The directory where the source files are located. | N/A | Yes |
117
+
|`--targetDir`|`-t`| The directory where the generated files will be placed. |`docs`| No |
118
+
|`--scope`|`-p`| A list of scopes to document. Values should be separated by a space, e.g --scope global public namespaceaccessible. |`global`| No |
119
+
|`--defaultGroupName`| N/A | The default group name to use when a group is not specified. |`Miscellaneous`| No |
120
+
|`--namespace`| N/A | The package namespace, if any. If provided, it will be added to the generated files. | N/A | No |
121
+
|`--sortAlphabetically`| N/A | Sorts files appearing in the Reference Guide alphabetically, as well as the members of a class, interface or enum alphabetically. If false, the members will be displayed in the same order as the code. |`false`| No |
122
+
|`--includeMetadata `| N/A | Whether to include the file's meta.xml information: Whether it is active and and the API version |`false`| No |
123
+
|`--linkingStrategy`| N/A | The strategy to use when linking to other classes. Possible values are `relative`, `no-link`, and `none`|`relative`| No |
124
+
|`--customObjectGroupName`| N/A | The name under which custom objects will be grouped in the Reference Guide |`Custom Objects`| No |
124
125
125
126
##### Linking Strategy
126
127
@@ -289,12 +290,12 @@ Then you only need to run the top level `apexdocs` command, and it will generate
289
290
Note that you can still run the individual commands if you only want to generate one type of documentation by
290
291
providing the subcommand, e.g `apexdocs markdown` or `apexdocs changelog`.
291
292
292
-
### Excluding Tags from Appearing in the Documentation
293
+
### Excluding Files from Being Documented
293
294
294
-
Note: Only works for Markdown documentation.
295
+
Any pattern included in the `.forceignore` file will be excluded from the documentation.
295
296
296
-
You can exclude tags from appearing in the documentation by using the `excludeTags` property in the configuration file,
297
-
which allow you to pass a list of tags that you want to exclude from the documentation.
297
+
Additionally, you can exclude one or multiple files from being documented by providing a list of glob patterns to
0 commit comments