Skip to content

Commit 91b18c7

Browse files
committed
AV-57335 POC config to antora-ify sources
See couchbase/docs-site#699 This extension uses the config in antora.yml to call getafix.sh and copy relevant sources into a modules/ structure. (This is POC, so I've just copied some random sources)
1 parent 9f38f8d commit 91b18c7

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

asterixdb/asterix-doc/antora.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: analytics
2+
version: true
3+
ext:
4+
collector:
5+
run:
6+
command: asterixdb/asterix-doc/getafix.sh
7+
scan:
8+
dir: build

asterixdb/asterix-doc/clean.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
rm -rf build/

asterixdb/asterix-doc/getafix.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
cd $(dirname $0)
4+
5+
./clean.sh
6+
7+
mkdir -p modules/asterixdb/partials/
8+
9+
cp -r src/site/markdown/ modules/asterixdb/partials/
10+
11+

0 commit comments

Comments
 (0)