Skip to content

Commit 39938c8

Browse files
committed
#1 Move documentation from Confluence to Git
initial Antora setup including Pax Exam and Pax TinyBundles
0 parents  commit 39938c8

File tree

9 files changed

+2406
-0
lines changed

9 files changed

+2406
-0
lines changed

.github/workflows/documentation.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Documentation"
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: '16'
15+
- run: npm i antora
16+
- run: npx --fetch antora antora-playbook.yml
17+
- uses: peaceiris/actions-gh-pages@v3
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
publish_dir: build/site

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/build
2+
/node_modules

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# ops4j.github.io

antora-playbook.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
site:
2+
title: OPS4J Documentation
3+
start_page: ops4j::index.adoc
4+
5+
content:
6+
sources:
7+
- url: .
8+
branches: [HEAD]
9+
start_path: documentation
10+
- url: https://github.com/ops4j/org.ops4j.pax.exam2
11+
branches: [v4.x]
12+
start_path: documentation
13+
- url: https://github.com/ops4j/org.ops4j.pax.tinybundles
14+
branches: [master]
15+
start_path: documentation
16+
17+
ui:
18+
bundle:
19+
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
20+
snapshot: true
21+
supplemental_files:
22+
- path: partials/header-content.hbs
23+
contents: supplemental-ui/partials/header-content.hbs
24+
- path: partials/footer-content.hbs
25+
contents: |

documentation/antora.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: ops4j
2+
title: OPS4J
3+
version: main
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
= OPS4J

0 commit comments

Comments
 (0)