languageType

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split samples and snippets

    • -19
    • +0
    ./softwareModelExtend-components.out
    • -7
    • +0
    ./softwareModelExtend-components.sample.conf
  1. … 7724 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./softwareModelExtend-components.out
    • -7
    • +0
    ./softwareModelExtend-components.sample.conf
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./softwareModelExtend-components.out
    • -7
    • +0
    ./softwareModelExtend-components.sample.conf
  1. … 7549 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./softwareModelExtend-components.out
    • -7
    • +0
    ./softwareModelExtend-components.sample.conf
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./softwareModelExtend-components.out
    • -7
    • +0
    ./softwareModelExtend-components.sample.conf
  1. … 7549 more files in changeset.
Update samples to use new Java plugin configurations

  1. … 66 more files in changeset.
WIP - replace 'compile' with 'implementation' in docs

  1. … 45 more files in changeset.
Use 'java-library' and 'api' as defaults for buildSrc

  1. … 3 more files in changeset.
Use 'java-library' and 'api' as defaults for buildSrc

  1. … 3 more files in changeset.
Use 'java-library' and 'api' as defaults for buildSrc

  1. … 3 more files in changeset.
Use 'java-library' and 'api' as defaults for buildSrc

  1. … 3 more files in changeset.
Use 'java-library' and 'api' as defaults for buildSrc

  1. … 3 more files in changeset.
Use 'java-library' and 'api' as defaults for buildSrc

  1. … 3 more files in changeset.
Use 'java-library' and 'api' as defaults for buildSrc

  1. … 3 more files in changeset.
spelling: introduction

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Fix failed sample tests

Some tests don't have settings.gradle and fail after we removed TestKit's searchUpwards.

This commit fixes these tests.

  1. … 2 more files in changeset.
Fix failed userguide sample tests

Some userguide tests don't have property settings files, so the removal of

searchUpwards caused them to fail. This commit fixes this issue.

  1. … 17 more files in changeset.
Add missing settings files to samples

  1. … 5 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. … 395 more files in changeset.
Externalize samples testing infrastructure

This change replaces UserGuideSamplesRunner with an external library

called sample-check. Sample discovery, execution, and normalization

is delegated to this library, with some custom normalizers remaining

in the Gradle codebase.

Samples output has become co-located with the sample code. Samples tests

must be run with Java 8+.

    • -0
    • +19
    ./softwareModelExtend-components.out
    • -0
    • +7
    ./softwareModelExtend-components.sample.conf
  1. … 779 more files in changeset.
Use doLast instead of left shift operator in docs

+review REVIEW-6236

  1. … 105 more files in changeset.
Replace `@BinaryType` and `@LanguageType` with `@ComponentType`

The original annotations have been retained for the purpose of

deprecation but they no longer work.

  1. … 63 more files in changeset.
Fix languageType sample

Fixed a couple of samples for changes to model type registration.

Replaced most usages of `BinaryTypeBuilder` and `ComponentTypeBuilder` with the more general `TypeBuilder`.

  1. … 48 more files in changeset.
Replaced most usages of `LanguageTypeBuilder` with the more general `TypeBuilder`.

  1. … 15 more files in changeset.
Removed `LanguageTypeBuilder.languageName` property, as a name is no longer required when registering a langauge source set.

  1. … 16 more files in changeset.
Fix typos in doc and cosmetics in samples

+review REVIEW-5783

  1. … 1 more file in changeset.
Add SNIPPET comments into languageType sample

+review REVIEW-5783

Reworked the sample for custom language types

- Sample registers 2 different source set types

- Custom set types are `@Managed`

- Use `@BinaryTasks` for the source set processing

- Removed the subsequent `Zip` task from the sample: it's not important to

demonstrate LanguageSourceSet

- Provide some custom properties on MarkdownSourceSet that control how it is

processed.

    • -0
    • +1
    ./src/docs/reference/README.txt
  1. … 1 more file in changeset.