spring-security/antora-playbook-with-worktr...

33 lines
994 B
YAML
Raw Normal View History

antora:
extensions:
- ./lib/antora/extensions/antora-linked-worktree-patch.js
- ./lib/antora/extensions/inject-collector-config.js
- '@antora/collector-extension'
- ./lib/antora/extensions/version-fix.js
- ./lib/antora/extensions/major-minor-segment.js
site:
title: Spring Security
url: https://docs.spring.io/spring-security/reference
robots: allow
git:
ensure_git_suffix: false
content:
sources:
- url: .
branches: [main, '5.{{6..9},{1..9}+({0..9})}.x']
worktrees: true # will automatically discover worktrees if they are set up; otherwise, will use git tree
tags: '5.{{6..9},{1..9}+({0..9})}.+({0..9})?(-RC{1..9})'
start_path: docs
asciidoc:
attributes:
page-pagination: ''
hide-uri-scheme: '@'
urls:
latest_version_segment_strategy: redirect:to
latest_version_segment: ''
redirect_facility: httpd
ui:
bundle:
url: https://github.com/spring-io/antora-ui-spring/releases/download/latest/ui-bundle.zip
snapshot: true