-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Migrate reference documentation to Antora (#3806)
To build the documentation, JDK17+ is required. The documentation can be built as a separate step from the regular build that uses JDK8 to kick off Gradle. `./gradlew antora` task generates the documentation in `./docs/build/site` `./gradlew docs` packages documentation into a `docs.zip`
- Loading branch information
Showing
88 changed files
with
2,462 additions
and
4,446 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
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,9 @@ | ||
root_level: 0 | ||
build: | ||
publish: false | ||
asciidoc: | ||
build: | ||
command: bundle exec asciidoctor-pdf -n -d book | ||
attributes: | ||
source-highlighter: rouge | ||
pdf-theme: ./pdf-theme.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,51 @@ | ||
antora: | ||
extensions: | ||
- '@springio/antora-extensions/partial-build-extension' | ||
# atlas-extension must be before latest-version-extension so latest versions are applied to imported versions | ||
- '@antora/atlas-extension' | ||
- require: '@springio/antora-extensions/latest-version-extension' | ||
- require: '@springio/antora-extensions/inject-collector-cache-config-extension' | ||
- '@antora/collector-extension' | ||
- id: pdf-extension # pdf-extension is enabled from antora-docs.gradle | ||
require: '@antora/pdf-extension' | ||
enabled: false | ||
- require: '@springio/antora-extensions/root-component-extension' | ||
root_component_name: 'reactor' | ||
site: | ||
title: Reactor Core Reference Guide | ||
url: https://projectreactor.io/docs/core/release/reference | ||
content: | ||
sources: | ||
- url: ./.. | ||
branches: HEAD | ||
start_path: docs | ||
worktrees: true | ||
asciidoc: | ||
extensions: | ||
- '@asciidoctor/tabs' | ||
- '@springio/asciidoctor-extensions' | ||
attributes: | ||
page-stackoverflow-url: https://stackoverflow.com/tags/project-reactor | ||
page-pagination: '' | ||
hide-uri-scheme: '@' | ||
tabs-sync-option: '@' | ||
chomp: 'all' | ||
doctype: book | ||
icons: font | ||
toc2: true | ||
sectnums: true | ||
sectanchors: true | ||
source-highlighter: highlightjs | ||
highlightjsdir: modules/ROOT/assets/highlight | ||
highlightjs-theme: railscasts | ||
sourcemap: true | ||
urls: | ||
latest_version_segment: '' | ||
runtime: | ||
log: | ||
failure_level: warn | ||
format: pretty | ||
ui: | ||
bundle: | ||
url: https://github.com/reactor/antora-ui-projectreactor/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,24 @@ | ||
name: reactor | ||
version: true | ||
title: Reactor 3 Reference Guide | ||
start_page: aboutDoc.adoc | ||
nav: | ||
- modules/ROOT/nav.adoc | ||
ext: | ||
collector: | ||
run: | ||
command: gradlew -q "-Dorg.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError" :docs:generateAntoraResources | ||
local: true | ||
scan: | ||
dir: ./build/generated-antora-resources | ||
|
||
asciidoc: | ||
attributes: | ||
attribute-missing: 'warn' | ||
chomp: 'all' | ||
source-language: java | ||
reactor-github-repo: 'https://github.com/reactor/reactor-core/tree/main' | ||
javadoc: 'https://projectreactor.io/docs/core/{project-version}/api' | ||
author: | ||
- Stephane Maldini | ||
- Simon Baslé |
Oops, something went wrong.