Migrate docs to Antora infrastructure

* Migrate Structure

* Insert explicit ids for headers

* Remove unnecessary asciidoc attributes

* Fix image::image

* 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

* Remove src/reference/asciidoc

* Fix antora build files

* Fix Antora Build and Migrate to Asciidoctor Tabs

* Fix Antora Nav Hiearchy

* Add deploy-docs.yml

* PR Feedback

* Fix `modifiedFiles` for `updateCopyrights` task
This commit is contained in:
Rob Winch
2023-12-05 14:33:11 -06:00
committed by GitHub
parent bf2a391a0c
commit 9cc8e4996a
99 changed files with 8627 additions and 8664 deletions

32
.github/workflows/deploy-docs.yml vendored Normal file
View File

@@ -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-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)