Update docs to use new Spring style sheets.

This commit is contained in:
Scott Frederick
2018-12-12 17:12:48 -06:00
parent 429422b8c4
commit 39757db8ff
5 changed files with 57 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ To use mutual TLS authentication to a CredHub server, simply provide the URL of
[source,properties,%autofit]
----
include::{examples-dir}/config-minimal.yml[]
include::{examples-dir}config-minimal.yml[]
----
See the {credhub-api-mtls}[CredHub documentation] for more information on mutual TLS authentication.
@@ -30,7 +30,7 @@ Spring CredHub supports client credentials grant tokens for authentication using
[source,properties,%autofit]
----
include::{examples-dir}/config-oauth2.yml[]
include::{examples-dir}config-oauth2.yml[]
----
The ID provided in `spring.credhub.oauth2.registration-id` must refer to a client configured under `spring.security.oauth2.client.registration`.

View File

@@ -8,7 +8,7 @@ Scott Frederick;
:toclevels: 3
:sectlinks:
:examples-dir: ../../test/java/com/example/credhub/
:examples-dir: ../../src/test/java/com/example/credhub/
:credhub-home: https://docs.cloudfoundry.org/credhub/
:credhub-api-home: https://credhub-api.cfapps.io/
:credhub-api-credentials: {credhub-api-home}version/2.0/#credentials

View File

@@ -65,5 +65,5 @@ Application classes can autowire an instance of this bean to interact with a Cre
[source,java,%autofit]
----
include::{examples-dir}/CredHubService.java[]
include::{examples-dir}CredHubService.java[]
----

View File

@@ -65,5 +65,5 @@ Application classes can autowire an instance of this bean to interact with a Cre
[source,java,%autofit]
----
include::{examples-dir}/ReactiveCredHubService.java[]
include::{examples-dir}ReactiveCredHubService.java[]
----