repurpose 5.6.x branch to provide local docs build

* remove unused workflows, scripts, and configuration (now handled by docs-build branch)
* upgrade Antora to 3.1 (and Node.js to 16)
* tune playbook settings
* reconfigure docs build for local build only
* add patch to support using linked worktree as Antora content source
* remove Antora extensions not needed for local builds
This commit is contained in:
Dan Allen
2022-09-07 17:19:55 -06:00
committed by Steve Riesenberg
parent 8b74bf9742
commit 3387149a0f
15 changed files with 93 additions and 424 deletions

View File

@@ -6,16 +6,22 @@ plugins {
apply plugin: 'io.spring.convention.docs'
apply plugin: 'java'
node {
version = "16.17.0"
}
antora {
antoraVersion = "3.0.0-alpha.8"
arguments = ["--fetch"]
antoraVersion = "3.1.0"
playbookFile = file("local-antora-playbook.yml")
arguments = ["--clean", "--stacktrace"]
}
tasks.antora {
dependsOn "generateAntora"
environment = [
"ALGOLIA_API_KEY" : "82c7ead946afbac3cf98c32446154691",
"ALGOLIA_APP_ID" : "244V8V9FGG",
"ALGOLIA_INDEX_NAME" : "security-docs"
"ALGOLIA_API_KEY" : "82c7ead946afbac3cf98c32446154691",
"ALGOLIA_APP_ID" : "244V8V9FGG",
"ALGOLIA_INDEX_NAME" : "security-docs"
]
}
@@ -64,8 +70,6 @@ ${ymlVersions}
}
}
dependencies {
testImplementation platform(project(":spring-security-dependencies"))
testImplementation "com.unboundid:unboundid-ldapsdk"