Skip to content

Commit 693f9cd

Browse files
committed
Migrate Documentation to Antora.
Closes #810
1 parent a2c3af3 commit 693f9cd

31 files changed

+338
-427
lines changed

.github/workflows/docs-build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy Docs Dispatch
2+
on:
3+
push:
4+
branches-ignore: [ gh-pages ]
5+
tags: '**'
6+
repository_dispatch:
7+
types: request-build-reference # legacy
8+
#schedule:
9+
#- cron: '0 10 * * *' # Once per day at 10am UTC
10+
workflow_dispatch:
11+
permissions:
12+
actions: write
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
if: github.repository_owner == 'spring-projects'
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v3
20+
with:
21+
ref: docs-build
22+
fetch-depth: 1
23+
- name: Dispatch (partial build)
24+
if: github.ref_type == 'branch'
25+
env:
26+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
run: gh workflow run docs-build.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
28+
- name: Dispatch (full build)
29+
if: github.ref_type == 'tag'
30+
env:
31+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
run: gh workflow run docs-build.yml -r $(git rev-parse --abbrev-ref HEAD)

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ release.properties
2121
/vault/
2222
download/
2323
work/
24+
25+
node
26+
node_modules
27+
package.json
28+
package-lock.json

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
</modules>
1919

2020
<properties>
21+
<antora.version>0.0.3</antora.version>
2122
<assertj-core.version>3.24.2</assertj-core.version>
2223
<aws-java-sdk.version>2.18.24</aws-java-sdk.version>
2324
<bcpkix-jdk15on.version>1.70</bcpkix-jdk15on.version>
@@ -535,6 +536,13 @@
535536
<version>3.11.0</version>
536537
</plugin>
537538

539+
<plugin>
540+
<groupId>org.apache.maven.plugins</groupId>
541+
<artifactId>maven-resources-plugin</artifactId>
542+
<version>3.3.1</version>
543+
</plugin>
544+
545+
538546
<plugin>
539547
<groupId>org.apache.maven.plugins</groupId>
540548
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)