Merge branch '6.0.x'
This commit is contained in:
commit
4130690b4e
|
@ -1,2 +1 @@
|
||||||
/package-lock.json
|
/*-antora-playbook.yml
|
||||||
/node_modules/
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
# The purpose of this Antora playbook is to generate a preview of the docs in the current branch.
|
|
||||||
antora:
|
|
||||||
extensions:
|
|
||||||
- '@antora/collector-extension'
|
|
||||||
site:
|
|
||||||
title: Spring Security
|
|
||||||
url: https://docs.spring.io/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
|
|
|
@ -1,22 +1,19 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.antora' version '1.0.0-alpha.3'
|
id 'org.antora' version '1.0.0-alpha.7'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'io.spring.convention.docs'
|
apply plugin: 'io.spring.convention.docs'
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
|
||||||
antora {
|
antora {
|
||||||
version = '3.2.0-alpha.2'
|
playbook = 'cached-antora-playbook.yml'
|
||||||
playbook = file('local-antora-playbook.yml')
|
playbookProvider {
|
||||||
options = ['--clean', '--stacktrace']
|
repository = 'spring-projects/spring-security'
|
||||||
environment = [
|
branch = 'docs-build'
|
||||||
'ALGOLIA_API_KEY': '82c7ead946afbac3cf98c32446154691',
|
path = 'lib/antora/templates/per-branch-antora-playbook.yml'
|
||||||
'ALGOLIA_APP_ID': '244V8V9FGG',
|
checkLocalBranch = true
|
||||||
'ALGOLIA_INDEX_NAME': 'security-docs'
|
}
|
||||||
]
|
options = [clean: true, stacktrace: true]
|
||||||
dependencies = [
|
|
||||||
'@antora/collector-extension': '1.0.0-alpha.3'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register('generateAntora') {
|
tasks.register('generateAntora') {
|
||||||
|
|
Loading…
Reference in New Issue