Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit f7ece98

Browse files
committed
Convert to Antora
1 parent 04d132d commit f7ece98

File tree

9 files changed

+4715
-8
lines changed

9 files changed

+4715
-8
lines changed

.github/workflows/cd.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CD
2+
on:
3+
push:
4+
concurrency:
5+
group: cd-${{ github.ref }}
6+
cancel-in-progress: false
7+
jobs:
8+
cd:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
- name: Setup Node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: lts/*
17+
- name: Install dependencies
18+
run: npm ci
19+
- name: Antora build
20+
run: npx antora ./antora-playbook.yml
21+
- name: Disable Jekyll
22+
run: touch .nojekyll
23+
- name: Publish to GitHub Pages
24+
if: github.ref == 'refs/heads/main'
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_dir: build/site
29+
cname: clojurephant.dev

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Node
2+
node_modules/
3+
4+
# Antora
5+
build/

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

antora-playbook.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
site:
2+
title: Clojurephant
3+
url: https://clojurephant.dev
4+
start_page: clojurephant::index.adoc
5+
content:
6+
sources:
7+
- url: https://github.com/clojurephant/clojurephant.git
8+
branches: [antora]
9+
start_path: docs/
10+
ui:
11+
bundle:
12+
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
13+
snapshot: true
14+
supplemental_files: ./supplemental_ui
15+
antora:
16+
extensions:
17+
- "@antora/lunr-extension"

index.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)