Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
include Kotlin DSL sample for chapter custom_tasks (noIsolation sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 13 more files in changeset.
Convert user manual to be generated by Asciidoctor only

This change replaces all embedded Docbook syntax from the user manual.

Asciidoctor files are now converted directly to HTML and PDF.

It not only greatly simplifies the user manual generation pipeline, but also it makes it faster.

I did the following for all user manual pages:

- [x] Adjusted links to other manual pages, DSL docs, and Javadocs where necessary.

Fixed a couple dozen broken links at least.

- [x] Convert samples XML from docbook to asciidoctor syntax

- [x] Converted wide tables to a more flexible list-based display

Important contributor differences from now on:

- Users must use a `<file>.adoc#` prefix for all cross-reference links.

This is _required_ to achieve working links in all 3 outputs: multi-page user manual, single-page user manual, and PDF.

- The manual PDF is no longer themed, and no longer has the list of examples links in the TOC.

- File names were changed from camelCased to snake_case to have a crystal clear 1-1 mapping between source to output.

- Section reference verification is now handled by Asciidoctor verbose mode.

- The single-page user manual has the same navigation as the multi-page manual for now.

- [Common Asciidoctor extensions](https://github.com/gradle/dotorg-docs/tree/master/docs-asciidoctor-extensions) are now used by Gradle Guides and the User Manual, however, the the web assets (CSS, JS, etc) are not yet merged.

These extensions are responsible for injecting the navigation and styles.

The header/footer/navigation HTML can now be found under `subprojects/docs/src/main/resources`.

  1. … 401 more files in changeset.
Favor using FileCollection.iterator() over FileCollection.getFiles()

In some cases it's cheaper to create the iterator than a full-blown Set.

  1. … 28 more files in changeset.
Update WorkerExector samples to use less problematic params method

  1. … 2 more files in changeset.
Polishing of Worker API docs based on feedback

- Various rewordings in the release notes

- Shortened the example in the release notes

- Add link to the Gradle summit presentation

- Some rewording in the user guide

- Changed the waitForCompletion example to do something that requires

work to be finished.

- Removed unnecessary comments from the javadocs

- Added some discussion in the WorkerExecutor javadoc as to why it might

be useful.

- Change WorkerExecutor injection in samples to use constructor

injection

  1. … 7 more files in changeset.
Documentation for the Worker API

- Add WorkerExecutor/WorkerConfiguration to DSL reference

- Add worker daemon sample

- Add tests for Worker API samples

  1. … 17 more files in changeset.
Document the worker API

  1. … 4 more files in changeset.