Skip to content

Commit a04bbd7

Browse files
committed
Shared Antora extensions
1 parent a1a8f74 commit a04bbd7

File tree

7 files changed

+364
-287
lines changed

7 files changed

+364
-287
lines changed

extensions/boost-link-inline-macro.js

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

extensions/boost.js

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

libs.playbook.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,33 @@ site:
4141

4242
antora:
4343
extensions:
44-
- require: ./extensions/boost.js
44+
- require: '@alandefreitas/antora-playbook-macros-extension'
45+
macros:
46+
# Default values for macros
47+
# These values can be overridden with environment variables,
48+
# asciidoc.attributes, or --attribute command line option.
49+
page-boost-branch: develop
50+
page-boost-ui-branch: develop
51+
page-commit-id: '000000'
52+
- require: '@alandefreitas/antora-cpp-tagfiles-extension'
53+
cpp-tagfiles:
54+
using-namespaces:
55+
- 'boost::'
56+
- require: '@alandefreitas/antora-cpp-reference-extension'
57+
dependencies:
58+
- name: 'boost'
59+
repo: 'https://github.com/boostorg/boost.git'
60+
tag: 'develop'
61+
variable: 'BOOST_SRC_DIR'
62+
4563
asciidoc:
4664
attributes:
47-
page-boost-branch: develop
48-
page-boost-ui-branch: develop
49-
page-boost-is-release: ''
50-
page-commit-id: ''
5165
# Enable pagination
5266
page-pagination: ''
5367
# Remove the sidenav and include TOC in index.adoc page
5468
remove-sidenav: ''
5569
extensions:
56-
- ./extensions/boost-link-inline-macro.js
70+
- '@alandefreitas/asciidoctor-boost-links'
5771
- '@asciidoctor/tabs'
5872

5973
# Libraries that support Antora should be included here

0 commit comments

Comments
 (0)