Skip to content

Commit 3a7e44a

Browse files
committed
docs(api): start api docs
WIP, but begin creating API documentation for archetypes-rules. #2
1 parent c013291 commit 3a7e44a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+20097
-80
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
coverage
22
dist/
3+
docs/
34
lib/rule.js
45
out/

.github/ci/docs/jsdoc.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"tags": {
3+
"allowUnknownTags": ["category"]
4+
},
5+
"source": {
6+
"include": ["./lib"],
7+
"includePattern": ".js$",
8+
"excludePattern": "(node_modules/|docs|coverage|dist|*.test.js$)"
9+
},
10+
"plugins": [
11+
"plugins/markdown",
12+
"jsdoc-mermaid",
13+
"node_modules/better-docs/category"
14+
],
15+
"opts": {
16+
"encoding": "utf8",
17+
"destination": "docs/api/",
18+
"readme": "README.md",
19+
"recurse": true,
20+
"verbose": true,
21+
"tutorials": "./docs/tutorials",
22+
"template": "better-docs"
23+
},
24+
"templates": {
25+
"cleverLinks": false,
26+
"monospaceLinks": false,
27+
"better-docs": {
28+
"name": "archetypes-rules API Documentation",
29+
"logo": "docs/img/logos/logo.png",
30+
"trackingCode": null,
31+
"navigation": [
32+
{
33+
"label": "Github",
34+
"href": "https://github.com/commonality/archetypes-rules"
35+
}
36+
]
37+
}
38+
}
39+
}

0 commit comments

Comments
 (0)