@cparra/apexdocs 2.15.1 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/docs/types/Misc-Group/nspc.AtFutureRecipes.md +4 -0
- package/docs/types/Misc-Group/nspc.EscapedAnnotations.md +4 -0
- package/docs/types/Misc-Group/nspc.MemberGrouping.md +1 -1
- package/docs/types/README.md +6 -0
- package/examples/force-app/main/default/classes/EscapedAnnotations.cls +5 -0
- package/examples/force-app/main/default/classes/MemberGrouping.cls +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -69,6 +69,16 @@ public class MyClass {
|
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
* Apex docs blocks can now all be in a single line
|
|
72
|
+
|
|
73
|
+
📒 Note: If you wish to have multiple `@` tags in a single line but don't want them to be treated as ApexDoc annotations, you can
|
|
74
|
+
escape them by adding wrapping the annotation in ticks, for example
|
|
75
|
+
|
|
76
|
+
```apex
|
|
77
|
+
/**
|
|
78
|
+
* @MyCustomAnnotation This is a custom annotation with an `@embedded` annotation
|
|
79
|
+
*/
|
|
80
|
+
```
|
|
81
|
+
|
|
72
82
|
* Support for grouping blocks of related code within a class
|
|
73
83
|
* Support for HTML tags
|
|
74
84
|
* OpenApi REST specification generation
|
package/docs/types/README.md
CHANGED
|
@@ -11,6 +11,7 @@ public class MemberGrouping {
|
|
|
11
11
|
|
|
12
12
|
/** @description Description for constant in group 2 */
|
|
13
13
|
public static final String inGroup2;
|
|
14
|
+
/** @description Description for another constant in group 2 @future annotation */
|
|
14
15
|
public static final String anotherInGroup2;
|
|
15
16
|
/** @end-group */
|
|
16
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cparra/apexdocs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "Library with CLI capabilities to generate documentation for Salesforce Apex classes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"eslint": "^8.0.1",
|
|
48
48
|
"eslint-config-prettier": "^8.3.0",
|
|
49
49
|
"eslint-plugin-prettier": "^4.0.0",
|
|
50
|
-
"husky": "^
|
|
50
|
+
"husky": "^8.0.3",
|
|
51
51
|
"jest": "^27.5.1",
|
|
52
|
-
"lint-staged": "^
|
|
52
|
+
"lint-staged": "^13.2.1",
|
|
53
53
|
"prettier": "^2.4.1",
|
|
54
54
|
"rimraf": "^3.0.2",
|
|
55
55
|
"ts-jest": "^27.1.3",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@cparra/apex-reflection": "2.
|
|
69
|
+
"@cparra/apex-reflection": "2.4.0",
|
|
70
70
|
"chalk": "^4.1.2",
|
|
71
71
|
"fast-xml-parser": "^4.0.1",
|
|
72
72
|
"js-yaml": "^4.1.0",
|