Skip to content

Commit

Permalink
Additional antora migration
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Sep 14, 2023
1 parent 72b190c commit 6ea17a6
Show file tree
Hide file tree
Showing 20 changed files with 113 additions and 541 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ release.properties
.vscode/
plugins/


node
node_modules
build
package.json
package-lock.json
3 changes: 2 additions & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.0/apache-maven-3.9.0-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
358 changes: 24 additions & 334 deletions README.adoc

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions docs/antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ antora:
- '@antora/collector-extension'
- '@antora/atlas-extension'
- require: '@springio/antora-extensions/root-component-extension'
root_component_name: 'PROJECT_WITHOUT_SPRING'
# FIXME: Run antora once using this extension to migrate to the Asciidoc Tabs syntax
# and then remove this extension
- require: '@springio/antora-extensions/tabs-migration-extension'
unwrap_example_block: always
save_result: true
root_component_name: 'cloud-vault'

site:
title: PROJECT_FULL_NAME
url: https://docs.spring.io/PROJECT_NAME/reference/
title: Spring Cloud Vault
url: https://docs.spring.io/spring-cloud-vault/reference/
content:
sources:
- url: ./..
Expand Down
4 changes: 2 additions & 2 deletions docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: PROJECT_WITHOUT_SPRING
name: cloud-vault
version: true
title: PROJECT_NAME
title: Spring Cloud Vault
nav:
- modules/ROOT/nav.adoc
ext:
Expand Down
7 changes: 1 addition & 6 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
* xref:index.adoc[]
* xref:intro.adoc[]
* xref:_attributes.adoc[]
* xref:index.adoc[Introduction]
* xref:new-features.adoc[]
* xref:quickstart.adoc[]
* xref:config-data.adoc[]
* xref:authentication.adoc[]
* xref:secret-backends.adoc[]
* xref:other-topics.adoc[]
* xref:appendix.adoc[]
* xref:_configprops.adoc[]
* xref:README.adoc[]
* xref:spring-cloud-vault.adoc[]
5 changes: 5 additions & 0 deletions docs/modules/ROOT/pages/_attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@

:sc-ext: java
:project-full-name: Spring Cloud Vault

:github: https://github.com/spring-cloud/spring-cloud-vault
:githubmaster: {github}/tree/main
:revnumber: {project-version}
:docslink: {githubmaster}/docs/src/main/asciidoc
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/appendix.adoc
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
:numbered!:

[appendix]
[[common-application-properties]]
= Common application properties
:page-section-summary-toc: 1

include::_attributes.adoc[]

Various properties can be specified inside your `application.properties` file, inside your `application.yml` file, or as command line switches.
This appendix provides a list of common {project-full-name} properties and references to the underlying classes that consume them.

NOTE: Property contributions can come from additional jar files on your classpath, so you should not consider this an exhaustive list.
Also, you can define your own properties.

include::partial$_configprops.adoc[]
Loading

0 comments on commit 6ea17a6

Please sign in to comment.