File tree 5 files changed +29
-11
lines changed
5 files changed +29
-11
lines changed Original file line number Diff line number Diff line change
1
+ /package-lock.json
Original file line number Diff line number Diff line change
1
+ .PHONY : npm build deploy
2
+ .DEFAULT_GOAL := build
3
+
4
+ npm : package.json
5
+ npm install --no-fund --no-audit --no-progress --save-dev --loglevel=error
6
+ npm run antora -- --version
7
+
8
+ build : npm
9
+ npm run antora -- --fetch antora-playbook.yml
10
+
11
+ deploy : build
12
+ git add docs
13
+ git commit -m ' Update site docs'
14
+ git push
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Installing the Antora is super simple:
13
13
14
14
[source]
15
15
----
16
-
16
+ $ make npm
17
17
----
18
18
19
19
Check out https://docs.antora.org/antora/2.0/install/install-antora/[the detailed installation instructions]
@@ -25,15 +25,15 @@ You can build the documentation locally from this repo.
25
25
26
26
[source]
27
27
----
28
- $ cd cider-site
29
- $ antora --pull antora-playbook.yml
28
+ $ cd docs. cider.mx
29
+ $ make build
30
30
----
31
31
32
- After you're done with the initial setup you can use the `deploy` script to push changes to the site:
32
+ After you're done with the initial setup you can use the `deploy` task to push changes to the site:
33
33
34
34
[source]
35
35
----
36
- ./ deploy
36
+ $ make deploy
37
37
----
38
38
39
39
NOTE: You'll need commit access to the repository for this to work.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {
2
+ "dependencies" : {
3
+ "@antora/cli" : " 3.1.3" ,
4
+ "@antora/site-generator" : " 3.1.3"
5
+ },
6
+ "scripts" : {
7
+ "antora" : " antora"
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments