You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
724 B
27 lines
724 B
plugins { |
|
id "io.spring.convention.docs" |
|
} |
|
|
|
asciidoctor { |
|
attributes([ |
|
"spring-authorization-server-version": project.version, |
|
"spring-security-reference-base-url": "https://docs.spring.io/spring-security/reference", |
|
"spring-security-api-base-url": "https://docs.spring.io/spring-security/site/docs/current/api", |
|
"spring-boot-reference-base-url": "https://docs.spring.io/spring-boot/docs/current/reference/html", |
|
"examples-dir": "examples", |
|
"samples-dir": "$rootDir/samples", |
|
"docs-java": "$sourceDir/examples/src/main/java", |
|
"chomp": "default headers packages", |
|
"toc": "left", |
|
"toclevels": "4" |
|
]) |
|
} |
|
|
|
docsZip { |
|
from (api) { |
|
into "api" |
|
} |
|
from(asciidoctor) { |
|
into "reference/html" |
|
} |
|
}
|
|
|