File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 54
54
# - name: Fetch syntax highlighter
55
55
# run: git clone https://github.com/hedyhli/tree-sitter-cognate
56
56
- name : Build syntax-highlighting
57
- run : make
57
+ run : make BASEURL="${{ steps.pages.outputs.base_url }}/"
58
58
- name : Setup Pages
59
59
id : pages
60
60
uses : actions/configure-pages@v5
Original file line number Diff line number Diff line change 1
1
AWK =awk
2
2
HUGO =hugo
3
+ BASEURL =https://cognate-lang.github.io
3
4
4
5
.PHONY : build
5
6
build :
6
7
# NOTE: Requires gawk
7
8
tree-sitter query --test scripts/doc-comments.scm prelude.cog --config-path tree-sitter.json | $(AWK ) -v linkURL=" https://github.com/cognate-lang/cognate/blob/master/src/" -f scripts/doc-comments.awk > content/reference/prelude.md
8
- $(HUGO )
9
+ $(HUGO ) --gc --minify --baseURL $( BASEURL )
9
10
make $(shell find public -type f -name "* .html")
10
11
11
12
public/% .html : .FORCE
You can’t perform that action at this time.
0 commit comments