Skip to content

Commit 37d0161

Browse files
committed
feat: also publish javadoc
1 parent 383156b commit 37d0161

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/gh-pages.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ permissions:
1414
pages: write
1515
id-token: write
1616

17-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1917
concurrency:
2018
group: "pages"
21-
cancel-in-progress: false
19+
cancel-in-progress: true
2220

2321
jobs:
2422
# Build job
@@ -34,6 +32,10 @@ jobs:
3432
with:
3533
source: ./docs
3634
destination: ./_site
35+
- name: Compile uberjar
36+
run: lein uberjar
37+
- name: Run javadoc tool
38+
run: javadoc -d _site/javadoc --source-path ./java-src -cp target/stencil-core-*-standalone.jar -subpackages io.github.erdos.stencil
3739
- name: Upload artifact
3840
uses: actions/upload-pages-artifact@v2
3941

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ junit.xml
2020
.DS_Store
2121
.lsp/
2222
*.jfr
23-
.clj-kondo/
23+
.clj-kondo/
24+
/_site/

java-src/io/github/erdos/stencil/functions/package-info.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
/**
2-
* General purpose functions.
3-
* <p>
4-
* Function implementations come here.
5-
*
6-
*
7-
* <h3>Custom Functions</h3>
2+
* <h2>Custom Functions</h2>
83
* <p>
94
* It is possible to define custom functions on the host code and invoke them from within the template files.
105
* Custom functions must implement the {@link io.github.erdos.stencil.functions.Function} interface and be registered

0 commit comments

Comments
 (0)