-
Notifications
You must be signed in to change notification settings - Fork 23
/
site.playbook.yml
81 lines (73 loc) · 2.23 KB
/
site.playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# Copyright (c) 2024 The C++ Alliance, Inc. (https://cppalliance.org)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Official repository: https://github.com/boostorg/website-v2-docs
#
# This configures Antora for building site docs
#
# website link structure:
#
# /libs/{name} Redirect to /{version}/lib/{name}
# /{version}/lib/{name} library docs
# /{version}/lib/user-guide User Guide
# /doc/contributor-guide
# /doc/boost-formal-review
# /develop/doc/contributor-guide
# /develop/doc/boost-formal-review
#
# /doc/libs/{old-version}/libs/{name} redirect to versioned legacy lib docs
#
# name: library-name
# version: "master" | "develop" | {semantic-version}
# old-version: DIGIT+ '_' DIGIT+ '_' DIGIT+
#
site:
url: https://boost.revsys.dev/
title: Boost Site Docs
start_page: user-guide::index.adoc
antora:
extensions:
- require: '@cppalliance/antora-playbook-macros-extension'
macros:
# Default values for macros
# These values can be overridden with environment variables,
# asciidoc.attributes, or --attribute command line option.
page-boost-branch: develop
page-boost-ui-branch: develop
page-commit-id: '000000'
- require: '@cppalliance/antora-cpp-tagfiles-extension'
cpp-tagfiles:
using-namespaces:
- 'boost::'
asciidoc:
attributes:
# Enable pagination
page-pagination: ''
extensions:
- '@cppalliance/asciidoctor-boost-links'
- '@asciidoctor/tabs'
content:
sources:
- url: .
start_path: user-guide
edit_url: '{web_url}/edit/develop/{path}'
- url: .
start_path: formal-reviews
edit_url: '{web_url}/edit/develop/{path}'
- url: .
start_path: contributor-guide
edit_url: '{web_url}/edit/develop/{path}'
ui:
bundle:
# url: https://github.com/cppalliance/antora-ui/releases/download/ui-${page-boost-branch}/ui-bundle.zip
url: ./antora-ui/build/ui-bundle.zip
snapshot: true
output:
dir: ./build
# https://docs.antora.org/antora/latest/playbook/runtime-log-failure-level/
runtime:
log:
failure_level: error