-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
222 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,9 @@ _site/ | |
.vscode/ | ||
.flattened-pom.xml | ||
|
||
|
||
node | ||
node_modules | ||
build | ||
package.json | ||
package-lock.json |
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-openfeign' | ||
site: | ||
title: Spring Cloud Openfeign | ||
url: https://docs.spring.io/spring-cloud-openfeign/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-openfeign | ||
version: true | ||
title: Spring Cloud OpenFeign | ||
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,5 @@ | ||
* xref:index.adoc[] | ||
** xref:intro.adoc[] | ||
** xref:spring-cloud-openfeign.adoc[] | ||
* xref:appendix.adoc[] | ||
** xref:configprops.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: | ||
|
7 changes: 3 additions & 4 deletions
7
docs/src/main/asciidoc/appendix.adoc → docs/modules/ROOT/pages/appendix.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,14 +1,13 @@ | ||
:numbered!: | ||
[appendix] | ||
[[common-application-properties]] | ||
== 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. | ||
This appendix provides a list of common Spring Cloud OpenFeign 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::_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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[[cloud-native-applications]] | ||
= Cloud Native Applications | ||
|
||
include::partial$_attributes.adoc[] | ||
|
||
// TODO: figure out remote includes in docs and replace pasted text | ||
// include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/contributing-docs.adoc[] | ||
NOTE: Spring Cloud is released under the non-restrictive Apache 2.0 license. | ||
If you would like to contribute to this section of the documentation or if you find an error, you can find the source code and issue trackers for the project at {github-issues}[github]. |
3 changes: 3 additions & 0 deletions
3
docs/src/main/asciidoc/intro.adoc → docs/modules/ROOT/pages/intro.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,3 +1,6 @@ | ||
[[intro]] | ||
= Introduction | ||
|
||
This project provides OpenFeign integrations for Spring Boot apps through autoconfiguration | ||
and binding to the Spring Environment and other Spring programming model idioms. | ||
|
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,3 @@ | ||
:sc-ext: java | ||
:project-full-name: Spring Cloud OpenFeign | ||
:all: {asterisk}{asterisk} |
Oops, something went wrong.