Skip to content

Commit bb36dce

Browse files
committed
Merge branch '1.2.x' into 1.3.x
2 parents 22fb092 + 6ed0a22 commit bb36dce

File tree

4 files changed

+54
-7
lines changed

4 files changed

+54
-7
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ out/
3838
### Mac ###
3939
.DS_Store
4040
cached-antora-playbook.yml
41+
42+
node_modules

docs/antora-playbook.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
antora:
2+
extensions:
3+
- require: '@springio/antora-extensions'
4+
root_component_name: 'authorization-server'
5+
site:
6+
title: Spring Authorization Server
7+
url: https://docs.spring.io/spring-authorization-server/reference
8+
robots: allow
9+
git:
10+
ensure_git_suffix: false
11+
content:
12+
sources:
13+
- url: https://github.com/spring-projects/spring-authorization-server
14+
branches: [main,'{1..9}.+({0..9}).x','!(1.{0..1}.x)']
15+
tags: ['{1..9}.+({0..9}).+({0..9})?(-{RC,M}*)','!(1.{0..1}.+({0..9})?(-{RC,M}*))']
16+
start_path: docs
17+
asciidoc:
18+
attributes:
19+
page-stackoverflow-url: https://stackoverflow.com/tags/spring-authorization-server
20+
page-related-doc-categories: security
21+
page-related-doc-projects: framework
22+
page-pagination: ''
23+
hide-uri-scheme: '@'
24+
tabs-sync-option: '@'
25+
extensions:
26+
- '@asciidoctor/tabs'
27+
- '@springio/asciidoctor-extensions'
28+
urls:
29+
latest_version_segment_strategy: redirect:to
30+
latest_version_segment: ''
31+
redirect_facility: httpd
32+
ui:
33+
bundle:
34+
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.16/ui-bundle.zip
35+
snapshot: true
36+
runtime:
37+
log:
38+
failure_level: warn

docs/package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"dependencies": {
3+
"antora": "3.2.0-alpha.6",
4+
"@antora/atlas-extension": "1.0.0-alpha.2",
5+
"@antora/collector-extension": "1.0.0-beta.2",
6+
"@asciidoctor/tabs": "1.0.0-beta.6",
7+
"@springio/antora-extensions": "1.14.2",
8+
"@springio/asciidoctor-extensions": "1.0.0-alpha.13"
9+
}
10+
}

docs/spring-authorization-server-docs.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ java {
1313
}
1414

1515
antora {
16-
playbook = "cached-antora-playbook.yml"
17-
playbookProvider {
18-
repository = "spring-projects/spring-authorization-server"
19-
branch = "docs-build"
20-
path = "lib/antora/templates/per-branch-antora-playbook.yml"
21-
checkLocalBranch = true
22-
}
2316
options = [clean: true, fetch: !project.gradle.startParameter.offline, stacktrace: true]
17+
environment = [
18+
'BUILD_REFNAME': 'HEAD',
19+
'BUILD_VERSION': project.version,
20+
]
2421
}
2522

2623
tasks.named("generateAntoraYml") {

0 commit comments

Comments
 (0)