Skip to content

Commit

Permalink
#1 Move documentation from Confluence to Git
Browse files Browse the repository at this point in the history
initial Antora setup including Pax Exam and Pax TinyBundles
  • Loading branch information
oliverlietz committed Aug 23, 2023
0 parents commit 39938c8
Show file tree
Hide file tree
Showing 9 changed files with 2,406 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Documentation"

on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm i antora
- run: npx --fetch antora antora-playbook.yml
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/site
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/build
/node_modules
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ops4j.github.io
25 changes: 25 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
site:
title: OPS4J Documentation
start_page: ops4j::index.adoc

content:
sources:
- url: .
branches: [HEAD]
start_path: documentation
- url: https://github.com/ops4j/org.ops4j.pax.exam2
branches: [v4.x]
start_path: documentation
- url: https://github.com/ops4j/org.ops4j.pax.tinybundles
branches: [master]
start_path: documentation

ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
supplemental_files:
- path: partials/header-content.hbs
contents: supplemental-ui/partials/header-content.hbs
- path: partials/footer-content.hbs
contents: |
3 changes: 3 additions & 0 deletions documentation/antora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: ops4j
title: OPS4J
version: main
1 change: 1 addition & 0 deletions documentation/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= OPS4J
Loading

0 comments on commit 39938c8

Please sign in to comment.