support for previews

This commit is contained in:
Vinnie Falco
2023-04-17 20:34:46 -07:00
parent dca3788862
commit 864817687d
3 changed files with 34 additions and 3 deletions

5
.gitignore vendored
View File

@@ -1,3 +1,2 @@
html/**
bin/**
antora
build

3
build.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
npx antora site.playbook.yml

29
site.playbook.yml Normal file
View File

@@ -0,0 +1,29 @@
site:
url: https://antora.cppalliance.org/
title: Guides
start_page: user-guide::index.adoc
content:
sources:
- url: .
start_path: user-guide
- url: .
start_path: formal-reviews
- url: .
start_path: release-process
#---
# distributed component version
- url: .
start_path: contributor-guide
- url: ./antora/
start_path: antora
#---
ui:
bundle:
url: https://github.com/cppalliance/antora-ui/releases/download/ui-master/ui-bundle.zip
snapshot: true
output:
dir: ./build