@antora/cli 3.2.0-alpha.1 → 3.2.0-alpha.3
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
CHANGED
|
@@ -12,7 +12,7 @@ Once these packages are installed, you can use the `antora` command to generate
|
|
|
12
12
|
|
|
13
13
|
## How to Install
|
|
14
14
|
|
|
15
|
-
Let
|
|
15
|
+
Let’s start by installing the CLI.
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
18
|
npm i -g @antora/cli
|
|
@@ -36,7 +36,7 @@ The `antora` command (specifically the implicit `generate` subcommand) will look
|
|
|
36
36
|
|
|
37
37
|
## How to Use
|
|
38
38
|
|
|
39
|
-
To run Antora, you
|
|
39
|
+
To run Antora, you’ll need a playbook file and at least one content (source) repository.
|
|
40
40
|
Consult the [quickstart](https://docs.antora.org/antora/latest/install-and-run-quickstart/) to find an example.
|
|
41
41
|
|
|
42
42
|
Once you have your content sources set up, point the `antora` command at your playbook file:
|
|
@@ -45,7 +45,7 @@ Once you have your content sources set up, point the `antora` command at your pl
|
|
|
45
45
|
antora antora-playbook.yml
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
The `antora` command will output the generated site to the
|
|
48
|
+
The `antora` command will output the generated site to the _build/site_ folder by default.
|
|
49
49
|
|
|
50
50
|
## Copyright and License
|
|
51
51
|
|
|
@@ -39,7 +39,7 @@ function collectOptions (props, context = undefined) {
|
|
|
39
39
|
if (default_ === null) {
|
|
40
40
|
//option.mandatory = true
|
|
41
41
|
option.description += ' (required)'
|
|
42
|
-
} else if (default_ && default_
|
|
42
|
+
} else if (default_ && typeof default_ !== 'object') {
|
|
43
43
|
option.default = default_
|
|
44
44
|
}
|
|
45
45
|
accum.push(option)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antora/cli",
|
|
3
|
-
"version": "3.2.0-alpha.
|
|
3
|
+
"version": "3.2.0-alpha.3",
|
|
4
4
|
"description": "The command line interface for Antora.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "OpenDevise Inc. (https://opendevise.com)",
|
|
@@ -25,13 +25,14 @@
|
|
|
25
25
|
"antora": "bin/antora"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@antora/logger": "3.2.0-alpha.
|
|
29
|
-
"@antora/playbook-builder": "3.2.0-alpha.
|
|
28
|
+
"@antora/logger": "3.2.0-alpha.3",
|
|
29
|
+
"@antora/playbook-builder": "3.2.0-alpha.3",
|
|
30
30
|
"@antora/user-require-helper": "~2.0",
|
|
31
|
-
"commander": "~
|
|
31
|
+
"commander": "~10.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@antora/site-
|
|
34
|
+
"@antora/site-generator": "3.2.0-alpha.3",
|
|
35
|
+
"@antora/site-publisher": "3.2.0-alpha.3",
|
|
35
36
|
"@asciidoctor/core": "~2.2",
|
|
36
37
|
"convict": "~6.2",
|
|
37
38
|
"kapok-js": "~0.10"
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
],
|
|
54
55
|
"scripts": {
|
|
55
56
|
"test": "_mocha",
|
|
56
|
-
"prepublishOnly": "
|
|
57
|
-
"postpublish": "
|
|
57
|
+
"prepublishOnly": "npx -y downdoc@latest --prepublish",
|
|
58
|
+
"postpublish": "npx -y downdoc@latest --postpublish"
|
|
58
59
|
}
|
|
59
60
|
}
|