Browse Source

add playbook template to support local build in content branches (#12497)

pull/12501/head
Dan Allen 3 years ago committed by GitHub
parent
commit
ea5260adad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      lib/antora/templates/per-branch-antora-playbook.yml
  2. 2
      local-antora-playbook.yml

19
lib/antora/templates/per-branch-antora-playbook.yml

@ -0,0 +1,19 @@ @@ -0,0 +1,19 @@
# The purpose of this Antora playbook is to generate a preview of the docs in the current branch.
site:
title: Spring Security Reference
content:
sources:
- url: ./..
branches: HEAD
start_path: docs
worktrees: true
asciidoc:
attributes:
page-pagination: ''
hide-uri-scheme: '@'
urls:
latest_version_segment: ''
ui:
bundle:
url: https://github.com/spring-io/antora-ui-spring/releases/download/latest/ui-bundle.zip
snapshot: true

2
local-antora-playbook.yml

@ -11,8 +11,6 @@ antora: @@ -11,8 +11,6 @@ antora:
site:
title: Spring Security
url: https://docs.spring.io/spring-security/reference
git:
ensure_git_suffix: false
content:
sources:
- url: .

Loading…
Cancel
Save