Skip to content

Commit 0c6ccb3

Browse files
authored
Merge pull request #234 from cesarParra/develop
3.9.0 RC
2 parents 92259e4 + 0fec322 commit 0c6ccb3

36 files changed

+896
-44
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ apexdocs changelog --previousVersionDir force-app-previous --currentVersionDir f
115115
|----------------------------|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|----------|
116116
| `--sourceDir` | `-s` | The directory where the source files are located. | N/A | Yes |
117117
| `--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 |
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+
| `--customObjectVisibility` | `-v` | Controls which custom objects are documented. Values should be separated by a space. | `[public]` | No |
119120
| `--defaultGroupName` | N/A | The default group name to use when a group is not specified. | `Miscellaneous` | No |
120121
| `--namespace` | N/A | The package namespace, if any. If provided, it will be added to the generated files. | N/A | No |
121122
| `--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 |
@@ -184,14 +185,15 @@ apexdocs openapi -s force-app -t docs -n MyNamespace --title "My Custom OpenApi
184185

185186
#### Flags
186187

187-
| Flag | Alias | Description | Default | Required |
188-
|------------------------|-------|--------------------------------------------------------------------|-------------|----------|
189-
| `--previousVersionDir` | `-p` | The directory location of the previous version of the source code. | N/A | Yes |
190-
| `--currentVersionDir` | `-t` | The directory location of the current version of the source code. | N/A | Yes |
191-
| `--targetDir` | `-t` | The directory location where the changelog file will be generated. | `./docs/` | No |
192-
| `--fileName` | N/A | The name of the changelog file to be generated. | `changelog` | No |
193-
| `--scope` | N/A | The list of scope to respect when generating the changelog. | ['global'] | No |
194-
| `--skipIfNoChanges` | N/A | Whether to skip generating the changelog if there are no changes. | `true` | No |
188+
| Flag | Alias | Description | Default | Required |
189+
|----------------------------|-------|--------------------------------------------------------------------------------------|-------------|----------|
190+
| `--previousVersionDir` | `-p` | The directory location of the previous version of the source code. | N/A | Yes |
191+
| `--currentVersionDir` | `-t` | The directory location of the current version of the source code. | N/A | Yes |
192+
| `--targetDir` | `-t` | The directory location where the changelog file will be generated. | `./docs/` | No |
193+
| `--fileName` | N/A | The name of the changelog file to be generated. | `changelog` | No |
194+
| `--scope` | N/A | The list of scope to respect when generating the changelog. | ['global'] | No |
195+
| `--customObjectVisibility` | `-v` | Controls which custom objects are documented. Values should be separated by a space. | ['public'] | No |
196+
| `--skipIfNoChanges` | N/A | Whether to skip generating the changelog if there are no changes. | `true` | No |
195197

196198
#### Sample Usage
197199

examples/changelog/docs/changelog.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ These members have been added or modified.
5151
- New Method: newMethod
5252
- Removed Method: deprecatedMethod
5353

54-
## New or Removed Fields in Existing Objects
54+
## New or Removed Fields to Custom Objects or Standard Objects
5555

5656
These custom fields have been added or removed.
5757

@@ -66,4 +66,8 @@ These custom fields have been added or removed.
6666

6767
### Product__c
6868

69-
- New Field: Description__c
69+
- New Field: Description__c
70+
71+
### Contact
72+
73+
- New Field: PhotoUrl__c

examples/markdown/docs/custom-objects/Event__c.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Represents an event that people can register for.
1818

1919
---
2020
### End Date
21+
**Required**
2122

2223
**API Name**
2324

@@ -29,6 +30,7 @@ Represents an event that people can register for.
2930

3031
---
3132
### Location
33+
**Required**
3234

3335
**API Name**
3436

@@ -40,6 +42,7 @@ Represents an event that people can register for.
4042

4143
---
4244
### Start Date
45+
**Required**
4346

4447
**API Name**
4548

examples/markdown/docs/custom-objects/Price_Component__c.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,17 @@ Use this when the Price Component represents a Flat Price. To represent a Percen
5555

5656
---
5757
### Type
58+
**Required**
5859

5960
**API Name**
6061

6162
`ns__Type__c`
6263

6364
**Type**
6465

65-
*Picklist*
66+
*Picklist*
67+
68+
#### Possible values are
69+
* List Price
70+
* Surcharge
71+
* Discount

examples/markdown/docs/custom-objects/Product__c.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Product that is sold or available for sale.
1818

1919
---
2020
### Event
21+
**Required**
2122

2223
**API Name**
2324

examples/markdown/docs/custom-objects/Sales_Order_Line__c.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Represents a line item on a sales order.
77

88
## Fields
99
### Amount
10+
**Required**
1011

1112
**API Name**
1213

@@ -18,6 +19,7 @@ Represents a line item on a sales order.
1819

1920
---
2021
### Product
22+
**Required**
2123

2224
**API Name**
2325

@@ -51,11 +53,16 @@ Represents a line item on a sales order.
5153

5254
---
5355
### Type
56+
**Required**
5457

5558
**API Name**
5659

5760
`ns__Type__c`
5861

5962
**Type**
6063

61-
*Picklist*
64+
*Picklist*
65+
66+
#### Possible values are
67+
* Charge
68+
* Discount

0 commit comments

Comments
 (0)