mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Publish single page doc to /htmlsingle consistently
Closes gh-21585
This commit is contained in:
parent
26daf3714e
commit
f03ed3b2a7
@ -191,7 +191,7 @@ task zip(type: Zip) {
|
||||
rename { "spring-boot-actuator-web-api.pdf" }
|
||||
}
|
||||
from(asciidoctor.outputDir) {
|
||||
into "html"
|
||||
into "htmlsingle"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,11 +28,12 @@
|
||||
:spring-boot-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference
|
||||
:spring-boot-master-code: https://github.com/{github-repo}/tree/master
|
||||
:spring-boot-current-docs: https://docs.spring.io/spring-boot/docs/current/reference/
|
||||
:spring-boot-actuator-restapi: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/actuator-api
|
||||
:spring-boot-maven-plugin-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/maven-plugin/reference/html/
|
||||
:spring-boot-actuator-restapi-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/actuator-api/htmlsingle
|
||||
:spring-boot-actuator-restapi-pdfdocs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/actuator-api/pdf/spring-boot-actuator-web-api.pdf
|
||||
:spring-boot-maven-plugin-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/maven-plugin/reference/htmlsingle/
|
||||
:spring-boot-maven-plugin-pdfdocs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/maven-plugin/reference/pdf/spring-boot-maven-plugin-reference.pdf
|
||||
:spring-boot-maven-plugin-api: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/maven-plugin/api/
|
||||
:spring-boot-gradle-plugin-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/gradle-plugin/reference/html/
|
||||
:spring-boot-gradle-plugin-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/gradle-plugin/reference/htmlsingle/
|
||||
:spring-boot-gradle-plugin-pdfdocs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/gradle-plugin/reference/pdf/spring-boot-gradle-plugin-reference.pdf
|
||||
:spring-boot-gradle-plugin-api: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/gradle-plugin/api/
|
||||
|
||||
|
@ -151,7 +151,7 @@ If your application is a web application (Spring MVC, Spring WebFlux, or Jersey)
|
||||
Requires a dependency on `micrometer-registry-prometheus`.
|
||||
|===
|
||||
|
||||
To learn more about the Actuator's endpoints and their request and response formats, please refer to the separate API documentation ({spring-boot-actuator-restapi}/html/[HTML] or {spring-boot-actuator-restapi}/pdf/spring-boot-actuator-web-api.pdf[PDF]).
|
||||
To learn more about the Actuator's endpoints and their request and response formats, please refer to the separate API documentation ({spring-boot-actuator-restapi-docs}[HTML] or {spring-boot-actuator-restapi-pdfdocs}[PDF]).
|
||||
|
||||
|
||||
|
||||
@ -371,7 +371,7 @@ A typical Spring Security configuration might look something like the following
|
||||
|
||||
The preceding example uses `EndpointRequest.toAnyEndpoint()` to match a request to any endpoint and then ensures that all have the `ENDPOINT_ADMIN` role.
|
||||
Several other matcher methods are also available on `EndpointRequest`.
|
||||
See the API documentation ({spring-boot-actuator-restapi}/html[HTML] or {spring-boot-actuator-restapi}/pdf/spring-boot-actuator-web-api.pdf[PDF]) for details.
|
||||
See the API documentation ({spring-boot-actuator-restapi-docs}[HTML] or {spring-boot-actuator-restapi-pdfdocs}[PDF]) for details.
|
||||
|
||||
If you deploy applications behind a firewall, you may prefer that all your actuator endpoints can be accessed without requiring authentication.
|
||||
You can do so by changing the configprop:management.endpoints.web.exposure.include[] property, as follows:
|
||||
@ -1199,7 +1199,7 @@ For example, `health` is exposed as `/actuator/health`.
|
||||
TIP: Actuator is supported natively with Spring MVC, Spring WebFlux, and Jersey.
|
||||
If both Jersey and Spring MVC are available, Spring MVC will be used.
|
||||
|
||||
NOTE: Jackson is a required dependency in order to get the correct JSON responses as documented in the API documentation ({spring-boot-actuator-restapi}/html[HTML] or {spring-boot-actuator-restapi}/pdf/spring-boot-actuator-web-api.pdf[PDF]).
|
||||
NOTE: Jackson is a required dependency in order to get the correct JSON responses as documented in the API documentation ({spring-boot-actuator-restapi-docs}[HTML] or {spring-boot-actuator-restapi-pdfdocs}[PDF]).
|
||||
|
||||
|
||||
|
||||
|
@ -115,7 +115,7 @@ task zip(type: Zip) {
|
||||
rename "index.pdf", "${project.name}-reference.pdf"
|
||||
}
|
||||
from(asciidoctor.outputDir) {
|
||||
into "reference/html"
|
||||
into "reference/htmlsingle"
|
||||
}
|
||||
from(javadoc) {
|
||||
into "api"
|
||||
|
@ -98,7 +98,7 @@ task zip(type: Zip) {
|
||||
rename "index.pdf", "${project.name}-reference.pdf"
|
||||
}
|
||||
from(asciidoctor.outputDir) {
|
||||
into "reference/html"
|
||||
into "reference/htmlsingle"
|
||||
}
|
||||
from(javadoc) {
|
||||
into "api"
|
||||
|
Loading…
Reference in New Issue
Block a user