forked from spring-projects/spring-authorization-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue spring-projectsgh-1295
- Loading branch information
Showing
62 changed files
with
327 additions
and
198 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 |
---|---|---|
|
@@ -37,3 +37,4 @@ out/ | |
|
||
### Mac ### | ||
.DS_Store | ||
cached-antora-playbook.yml |
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,33 @@ | ||
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 | ||
# FIXME enable when pushed to spring-projects | ||
# if: github.repository_owner == 'spring-projects' | ||
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# PACKAGES [email protected] @antora/atlas-extension:1.0.0-alpha.1 @antora/[email protected] @springio/[email protected] @asciidoctor/[email protected] @opendevise/[email protected] | ||
# | ||
# The purpose of this Antora playbook is to build the docs in the current branch. | ||
antora: | ||
extensions: | ||
- '@antora/collector-extension' | ||
- require: '@springio/antora-extensions/tabs-migration-extension' | ||
unwrap_example_block: always | ||
- require: '@springio/antora-extensions/root-component-extension' | ||
root_component_name: 'authorization-server' | ||
- '@antora/atlas-extension' | ||
site: | ||
title: Spring Authorization Server | ||
url: https://https://rwinch.github.io/spring-authorization-server/ | ||
content: | ||
sources: | ||
- url: .. | ||
branches: antora | ||
start_path: docs | ||
worktrees: true | ||
asciidoc: | ||
attributes: | ||
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 | ||
ui: | ||
bundle: | ||
url: https://github.com/spring-io/antora-ui-spring/releases/download/latest/ui-bundle.zip | ||
snapshot: true |
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,23 @@ | ||
name: authorization-server | ||
version: true | ||
title: Spring Authorization Server | ||
nav: | ||
- modules/ROOT/nav.adoc | ||
ext: | ||
collector: | ||
run: | ||
command: gradlew -q -PbuildSrc.skipTests=true "-Dorg.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError" :spring-authorization-server-docs:generateAntoraYml | ||
local: true | ||
scan: | ||
dir: ./build/generated-antora-resources | ||
|
||
asciidoc: | ||
attributes: | ||
attribute-missing: 'warn' | ||
chomp: 'all' | ||
spring-security-reference-base-url: "https://docs.spring.io/spring-security/reference" | ||
spring-security-api-base-url: "https://docs.spring.io/spring-security/site/docs/current/api" | ||
spring-boot-reference-base-url: "https://docs.spring.io/spring-boot/docs/current/reference/html" | ||
examples-dir: example$docs-src | ||
samples-dir: example$samples | ||
docs-java: '{examples-dir}/main/java' |
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 @@ | ||
../../../src |
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 @@ | ||
../../../../samples |
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 @@ | ||
* xref:index.adoc[] | ||
* xref:getting-help.adoc[] | ||
* xref:getting-started.adoc[] | ||
* xref:configuration-model.adoc[] | ||
* xref:core-model-components.adoc[] | ||
* xref:protocol-endpoints.adoc[] | ||
* xref:how-to.adoc[] | ||
** xref:guides/how-to-ext-grant-type.adoc[] | ||
** xref:guides/how-to-jpa.adoc[] | ||
** xref:guides/how-to-pkce.adoc[] | ||
** xref:guides/how-to-social-login.adoc[] | ||
** xref:guides/how-to-userinfo.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
1 change: 1 addition & 0 deletions
1
docs/src/docs/asciidoc/getting-help.adoc → docs/modules/ROOT/pages/getting-help.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,5 +1,6 @@ | ||
[[getting-help]] | ||
= Getting Help | ||
:page-section-summary-toc: 1 | ||
|
||
[[community]] | ||
== Community | ||
|
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.