-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate Structure * Insert explicit ids for headers * Remove unnecessary asciidoc attributes * Copy default antora files * Fix indentation for all pages * Split files * Generate a default navigation * Remove includes * Fix cross references * Enable Section Summary TOC for small pages * Antora migration
- Loading branch information
1 parent
02a447a
commit 3ddf820
Showing
43 changed files
with
1,225 additions
and
3,677 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Deploy Docs | ||
on: | ||
push: | ||
branches-ignore: [ gh-pages ] | ||
tags: '**' | ||
repository_dispatch: | ||
types: request-build-reference # legacy | ||
#schedule: | ||
#- cron: '0 10 * * *' # Once per day at 10am UTC | ||
workflow_dispatch: | ||
permissions: | ||
actions: write | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
# if: github.repository_owner == 'spring-cloud' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: docs-build | ||
fetch-depth: 1 | ||
- name: Dispatch (partial build) | ||
if: github.ref_type == 'branch' | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }} | ||
- name: Dispatch (full build) | ||
if: github.ref_type == 'tag' | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
-DaltSnapshotDeploymentRepository=repo.spring.io::default::https://repo.spring.io/libs-snapshot-local -P spring | ||
-P spring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-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/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
antora: | ||
extensions: | ||
- '@springio/antora-extensions/partial-build-extension' | ||
- require: '@springio/antora-extensions/latest-version-extension' | ||
- require: '@springio/antora-extensions/inject-collector-cache-config-extension' | ||
- '@antora/collector-extension' | ||
- '@antora/atlas-extension' | ||
- require: '@springio/antora-extensions/root-component-extension' | ||
root_component_name: 'cloud-kubernetes' | ||
site: | ||
title: Spring Cloud Kubernetes | ||
url: https://docs.spring.io/spring-cloud-kubernetes/reference/ | ||
content: | ||
sources: | ||
- url: ./.. | ||
branches: HEAD | ||
start_path: docs | ||
worktrees: true | ||
asciidoc: | ||
attributes: | ||
page-stackoverflow-url: https://stackoverflow.com/tags/spring-cloud | ||
page-pagination: '' | ||
hide-uri-scheme: '@' | ||
tabs-sync-option: '@' | ||
chomp: 'all' | ||
extensions: | ||
- '@asciidoctor/tabs' | ||
- '@springio/asciidoctor-extensions' | ||
sourcemap: true | ||
urls: | ||
latest_version_segment: '' | ||
runtime: | ||
log: | ||
failure_level: warn | ||
format: pretty | ||
ui: | ||
bundle: | ||
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.3.5/ui-bundle.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: cloud-kubernetes | ||
version: true | ||
title: Spring Cloud Kubernetes | ||
nav: | ||
- modules/ROOT/nav.adoc | ||
ext: | ||
collector: | ||
run: | ||
command: ./mvnw --no-transfer-progress -B process-resources -Pdocs -pl docs -Dantora-maven-plugin.phase=none -Dgenerate-docs.phase=none -Dgenerate-readme.phase=none -Dgenerate-cloud-resources.phase=none -Dmaven-dependency-plugin-for-docs.phase=none -Dmaven-dependency-plugin-for-docs-classes.phase=none -DskipTests | ||
local: true | ||
scan: | ||
dir: ./target/classes/antora-resources/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* xref:index.adoc[Introduction] | ||
* xref:getting-started.adoc[] | ||
* xref:discovery-client.adoc[] | ||
* xref:discovery-kubernetes-native.adoc[] | ||
* xref:property-source-config.adoc[] | ||
** xref:property-source-config/configmap-propertysource.adoc[] | ||
** xref:property-source-config/secrets-propertysource.adoc[] | ||
** xref:property-source-config/namespace-resolution.adoc[] | ||
** xref:property-source-config/order_of_configMaps_and_secrets.adoc[] | ||
** xref:property-source-config/propertysource-reload.adoc[] | ||
** xref:property-source-config/namespace-label-filtering.adoc[] | ||
* xref:kubernetes-awareness.adoc[] | ||
* xref:pod-health-indicator.adoc[] | ||
* xref:info-contributor.adoc[] | ||
* xref:leader-election.adoc[] | ||
* xref:load-balancer.adoc[] | ||
* xref:security-service-accounts.adoc[] | ||
* xref:service-registry.adoc[] | ||
* xref:spring-cloud-kubernetes-configuration-watcher.adoc[] | ||
* xref:spring-cloud-kubernetes-configserver.adoc[] | ||
* xref:spring-cloud-kubernetes-discoveryserver.adoc[] | ||
* xref:examples.adoc[] | ||
* xref:other-resources.adoc[] | ||
* xref:appendix.adoc[] |
2 changes: 0 additions & 2 deletions
2
docs/src/main/asciidoc/_attributes.adoc → docs/modules/ROOT/pages/_attributes.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
:doctype: book | ||
:idprefix: | ||
:idseparator: - | ||
:toc: left | ||
:toclevels: 4 | ||
:tabsize: 4 | ||
:numbered: | ||
:sectanchors: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[[configuration-properties]] | ||
= Configuration Properties | ||
|
||
Below you can find a list of configuration properties. | ||
|
||
include::partial$_configprops.adoc[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...asciidoc/discovery-kubernetes-native.adoc → ...OT/pages/discovery-kubernetes-native.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
docs/src/main/asciidoc/examples.adoc → docs/modules/ROOT/pages/examples.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include::spring-cloud-kubernetes.adoc[Introduction] |
4 changes: 3 additions & 1 deletion
4
docs/src/main/asciidoc/info-contributor.adoc → .../modules/ROOT/pages/info-contributor.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.