Skip to content

Commit f823e04

Browse files
committed
Updating to latest apex-reflection version which contains fix to start-group not recognizing special characters at the start of the description.
1 parent cbd2963 commit f823e04

File tree

5 files changed

+23
-14
lines changed

5 files changed

+23
-14
lines changed

docs/Main/SampleClass.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ Constructs a SampleClass with an argument.
6666
* `ANOTHER_CONSTANT``String`
6767
* `A_CONSTANT``String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
6868
---
69+
### 'General' Constants
70+
71+
* `GENERAL_ANOTHER_CONSTANT``String`
72+
* `GENERAL_A_CONSTANT``String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
73+
---
6974
### Other variables
7075

7176
* `someVariable``String`
@@ -120,11 +125,6 @@ System.debug(result);
120125

121126
Something here
122127

123-
#### Parameters
124-
125-
|Param|Description|
126-
|---|---|
127-
128128

129129
**Arg1** The arg1 description
130130

examples/force-app/main/default/classes/SampleClass.cls

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ public with sharing class SampleClass {
2828
public static final String ANOTHER_CONSTANT = 'My Constant Value';
2929
// @end-group
3030

31+
// @start-group 'General' Constants
32+
/**
33+
* @description This is a constant.
34+
*/
35+
@NamespaceAccessible
36+
public static final String GENERAL_A_CONSTANT = 'My Constant Value';
37+
public static final String GENERAL_ANOTHER_CONSTANT = 'My Constant Value';
38+
// @end-group
39+
3140
// @start-group Other variables
3241
public String someVariable = 'test';
3342
// @end-group

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
]
6565
},
6666
"dependencies": {
67-
"@cparra/apex-reflection": "^1.6.0",
67+
"@cparra/apex-reflection": "1.6.1",
6868
"chalk": "^4.1.2",
6969
"fast-xml-parser": "^4.0.1",
7070
"log-update": "4.0.0",

src/application/Apexdocs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ApexFileReader } from '../service/apex-file-reader';
22
import { DefaultFileSystem } from '../service/file-system';
3-
import { ReflectionResult, reflect, Type, ClassMirror } from '@cparra/apex-reflection';
3+
import { ReflectionResult, reflect, Type } from '@cparra/apex-reflection';
44
import { Logger } from '../util/logger';
55
import { createManifest } from '../service/manifest-factory';
66
import { RawBodyParser } from '../service/parser';

0 commit comments

Comments
 (0)