Commit Graph

62 Commits

Author SHA1 Message Date
Rob Winch b5ff77339b Use ui-bundle v0.1.1 2023-03-09 12:23:34 -06:00
Rob Winch 26827157f9 Use publish-docsearch-config-extension
Closes gh-12794
2023-02-27 16:05:39 -06:00
Dan Allen cca087f04f upgrade docs extensions
- upgrade to Asciidoctor Tabs 1.0.0-beta.3
- upgrade to Antora Release Line Extension 1.0.0
- upgrade to Spring.io Antora Extensions 1.0.0
- fix require path of tabs migration extension in local playbook
- add reminder to update dependency versions in playbook template for branches
2023-02-08 11:18:59 -06:00
Steve Riesenberg 06d05691b9
Override collector config for 6.0.0-RC1
Closes gh-12607
2023-01-31 15:32:39 -06:00
Steve Riesenberg 02587c7407
Exclude toolchains.xml from being read
Issue gh-12568
Issue gh-12596
2023-01-30 19:51:17 -06:00
Dan Allen 8a56d49d35
upgrade Gradle Antora Plugin to 1.0.0 2023-01-30 16:22:30 -06:00
Dan Allen 8940bc8979
document the authoring process and publishing workflow for the documentation 2023-01-30 16:21:04 -06:00
Dan Allen 53acce43bc
add docs to local Antora extensions 2023-01-30 16:19:37 -06:00
Rob Winch d9bb586257 Use spring-gradle-build-action@v2
We also need to use -Porg.gradle.java.installations.auto-detect=false so some of
the Gradle versions don't get xerces ClassCastExceptions.

Closes gh-12568
2023-01-20 13:17:37 -06:00
Rob Winch c4ab7e2353 Revert to spring-gradle-build-action@v1 2023-01-20 08:50:58 -06:00
Rob Winch ff30a7e3db --stacktrace 2023-01-20 08:50:58 -06:00
Rob Winch 06cb8bfe6a Not quiet scan 2023-01-20 08:50:46 -06:00
Rob Winch 0f0c341cfa Add GRADLE_ENTERPRISE_SECRET_ACCESS_KEY 2023-01-19 22:07:45 -06:00
Dan Allen 576e4d4711 prime atlas extension for use in playbook template
- declare atlas extension as package
- declare release line extension as package
- enable release line extension by default
- configure atlas extension, but do not enable by default (enable using --extension @antora/atlas-extension)
2023-01-18 16:37:54 -06:00
Rob Winch 765f4f65fd Update to spring-io/spring-gradle-build-action@v2 2023-01-18 16:34:34 -06:00
Dan Allen f2aa1c7687 upgrade Asciidoctor Tabs, the Antora Gradle plugin, and Node.js 2023-01-17 09:42:43 -03:00
Dan Allen fcc344dfa2 document how to trigger the docs build workflow using the GitHub Actions UI or GitHub CLI 2023-01-17 09:42:20 -03:00
Dan Allen ac8e3f6810 only index pages from the latest version in each release line 2023-01-11 13:58:46 -06:00
Dan Allen 33b1038eb6 upgrade Gradle Antora plugin and extension packages 2023-01-11 10:22:33 -07:00
Dan Allen 063b48c739 add packages (dependencies) to playbook template in docs-build branch 2023-01-11 10:22:33 -07:00
Dan Allen 9442191a84 enable AsciiDoc sourcemap in branch/author builds for more accurate log messages 2023-01-10 09:05:24 -06:00
Dan Allen ea5260adad
add playbook template to support local build in content branches (#12497) 2023-01-06 15:12:37 -06:00
Dan Allen 1c181dc81c remove temporary playbook 2022-12-24 22:46:03 -03:00
Dan Allen fdfbdcc645 fix name of secret for Algolia API key [no ci] 2022-12-24 22:44:50 -03:00
Dan Allen 5ac63ed64f show build-refname value in Deploy Docs workflow name 2022-12-24 22:43:55 -03:00
Dan Allen 5855bbb378 fix secret for indexer workflow 2022-12-23 09:47:45 -03:00
Dan Allen 409bd29abd rework the search indexing process
- reconfigure the docsearch scraper to store component and version for each res
- switch from the Docker image to a resuable GitHub Action
- add publish-docsearch-config extension to transform Handlebars into YAML
2022-12-22 10:26:13 -03:00
Dan Allen 2fb91e6266 switch to published partial build extension and remove local extension 2022-12-19 10:38:04 -03:00
Dan Allen f500c0fbe0 upgrade version of Asciidoctor Tabs to 1.0.0-alpha.11 2022-12-08 21:44:26 -06:00
Dan Allen c9ee194832 invalidate CDN cache after full build 2022-12-06 17:04:09 -06:00
Dan Allen 7757eab714 add Asciidoctor Tabs, tabs migration, code chomping & code folding to production site 2022-12-06 15:29:01 -06:00
Dan Allen dd44928051 add 6.x branches to build 2022-11-28 08:22:40 -03:00
Dan Allen 35bdfa87a0
do full sync when Antora reverts to running a full build (#12263) 2022-11-22 09:06:56 -06:00
Dan Allen 51fa7c0c34 remove dry-run on sync script; replace with -c for partial build 2022-11-10 21:08:37 -06:00
Dan Allen 7491f8a76d configure Antora and CI workflow to support partial build (single version)
- upgrade to Antora 3.2.0-alpha.2
- upgrade release-line-extension to 1.0.0-alpha.2
- add atlas-extension
- add local autoconfig-partial-build extension
- configure deploy-docs.yml workflow to detect and set up partial build
- configure publish-docs.sh script to sync partial build
2022-11-10 14:25:04 -06:00
Dan Allen b211b55043 fix the version fix for 5.6.0-RC1
* look for number instead of string
2022-11-03 09:29:30 -05:00
Dan Allen 32e2793167 sync local-antora-playbook.yml with antora-playbook.yml 2022-10-26 16:51:45 -06:00
Dan Allen e2f3ba2245 add release line extension 2022-10-25 14:42:44 -05:00
Dan Allen c7d14e0c02 refactor version patching extension 2022-10-25 14:42:44 -05:00
Dan Allen 466b882d82 refine docs build
- upgrade Antora to 3.2.0-alpha.1
- remove extension (patch) to support linked worktrees
- rename local playbook to local-antora-playbook.yml
- use more precise tags pattern
2022-10-24 09:57:12 -05:00
Rob Winch d7d1ee2b7e Include tags for versions larger than 5
This includes tags for versions larger than 5, but only as large as 9. We
will need to fix this for versions >= 10.
2022-10-18 13:31:54 -05:00
Rob Winch 40f6324d8f Instead of deleting aggregate.prerelease set to true
This ensures that the aggregate is not marked as a stable version.
2022-10-18 13:30:55 -05:00
Rob Winch d6ccf679c4 Fix any prerelease that != true or undefined
Previously the build would fail with duplicate versions because milestones
and RCs had the same version with a different prerelease value.

Now this is patched by changing the version to contain any prerelease value
other than true and changing prerelease to true.
2022-10-18 13:29:52 -05:00
Dan Allen c4bff97fe8 apply base plugin to add clean task 2022-10-03 13:34:53 -05:00
Dan Allen 649823f401 switch to official Antora Plugin for Gradle
- lock version to latest release of Antora 3.1
- declare Node.js dependencies in build.gradle
- use Node.js version provided by plugin
- assign environment variables using environments property on extension block
- move group and description project properties to gradle.properties
- remove unneeded .npmrc
- upgrade to Gradle 7.5.1
- pass -q when running gradlew from Collector
2022-09-29 14:43:44 -05:00
Sarah White 957566ebd7 add a README that documents how to build the docs for a software branch and the whole project 2022-09-16 15:36:49 -05:00
Dan Allen f2f7eb7482 eliminate the dependency on the generated-docs repository
- add and register Antora Collector
- configure Antora Collection at runtime using another extension
2022-09-12 13:13:02 -05:00
Dan Allen 6bd10b4056 propagate exit code in publish-docs script 2022-09-12 13:11:54 -05:00
Dan Allen 79a23b8b27 fix docs publish script and trigger workflow on correct branch name 2022-09-09 15:28:01 -05:00
Rob Winch 3f979ac958 Fix branch name to docs-build 2022-09-09 15:12:40 -05:00