Skip to content

Commit 15f80ad

Browse files
authored
fix: bis, proper escape; local build with makefile (#74)
* fix: escape _ in hyperlink to avoid __dir__ becoming <em>dir</em> in Antora/asciidoc Signed-off-by: tarilabs <[email protected]> * fix: bis, proper escape; local build with makefile Signed-off-by: tarilabs <[email protected]> --------- Signed-off-by: tarilabs <[email protected]>
1 parent acfbe67 commit 15f80ad

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.PHONY: install
2+
install:
3+
npm install
4+
5+
.PHONY: build
6+
build: install
7+
npx antora antora-playbook.yml
8+
9+
.PHONY: build-local
10+
build-local: install
11+
yq '.content.sources[0].branches = ["HEAD"]' antora-playbook.yml > antora-temp.yml
12+
npx antora antora-temp.yml
13+
rm antora-temp.yml

0 commit comments

Comments
 (0)