Skip to content

feat(gherkin-to-asciidoc): add ci indexing value and a CLI override for the whole build - #102

Merged
Arc-E-Tect merged 3 commits into
mainfrom
gherkin-to-asciidoc-indexing-ci-override
Aug 5, 2026
Merged

feat(gherkin-to-asciidoc): add ci indexing value and a CLI override for the whole build#102
Arc-E-Tect merged 3 commits into
mainfrom
gherkin-to-asciidoc-indexing-ci-override

Conversation

@Arc-E-Tect

@Arc-E-Tect Arc-E-Tect commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Stacks on docs(gherkin-to-asciidoc): document the indexing property and default changes #101 (documents indexing itself).
  • Adds IndexingMode.CI: unlike OFF, it skips indexing entirely - the source .feature files aren't touched at all, not even to strip prior numbering.
  • Adds the -PgherkinToAsciidoc.indexing=<value> project property, which overrides indexing for every project in the build regardless of what each project's own gherkinToAsciidoc { } block configures (matched against IndexingMode case-insensitively). Intended usage: force ci in a CI pipeline so generateFeatureDocs never mutates source files there, without changing any build script.
  • Documents both in the plugin README (new "Overriding indexing from the Command Line" subsection, updated tables/validation notes).
  • Adds a fifth ci sub-project to the indexing example, whose feature files start out already numbered specifically to prove CI leaves that numbering untouched, plus a walkthrough of the CLI override forcing all five sub-projects to skip indexing for a single run.

Bug fix

Notes

  • Pins the example to gherkin-to-asciidoc = 2.1.0, the version this purely additive change is expected to release as. Verified locally against the plugin's own source (via a temporary includeBuild, since removed) before pinning; won't build against the Gradle Plugin Portal until 2.1.0 is actually released.

Arc-E-Tect and others added 2 commits August 5, 2026 15:19
…ludeSubDirs/groupByFeature default changes

PR #99 shipped the indexing DSL property and flipped includeSubDirs/
groupByFeature to default to true, but never touched the plugin's own
README - it still showed the old false defaults everywhere and had no
mention of indexing at all.

Updates the Groovy/Kotlin DSL samples, the configuration properties
table, and the validation notes for the new defaults and the new
property. Adds a "Numbering Features and Scenarios" section describing
all four indexing values, the file processing/numbering order, and a
before/after example, linking to the new indexing example. Updates
"Sample Output"/"Grouping by Feature" to show the new default (grouped)
output first, with groupByFeature = false now documented as the
opt-out.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…or the whole build

Adds IndexingMode.CI: unlike OFF, it skips indexing entirely - the
source .feature files aren't touched at all, not even to strip prior
numbering. Adds the -PgherkinToAsciidoc.indexing=<value> project
property, which overrides indexing for every project in the build
regardless of what each project's own gherkinToAsciidoc { } block
configures, matched against IndexingMode case-insensitively. Intended
usage is forcing `ci` in a CI pipeline so generateFeatureDocs never
mutates source files there, without changing any build script.

Documents both in the plugin README (new "Overriding indexing from
the Command Line" subsection, updated tables/validation notes) and
adds a fifth `ci` sub-project to the indexing example, whose feature
files start out already numbered specifically to prove CI leaves
that numbering untouched, plus a walkthrough of the CLI override
forcing all five sub-projects to skip indexing for a single run.

Also fixes a pre-existing bug in the example (introduced when it was
first added): the feature/scenario/all sub-projects' committed
.feature files were left numbered from local verification instead of
the clean baseline the README describes.

Pins the example to gherkin-to-asciidoc = 2.1.0, the version this
purely additive change is expected to release as; verified locally
against the plugin's own source (via a temporary includeBuild, since
removed) before pinning.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Base automatically changed from docs-gherkin-to-asciidoc-indexing-readme to main August 5, 2026 12:06
@Arc-E-Tect
Arc-E-Tect merged commit 063c069 into main Aug 5, 2026
@Arc-E-Tect
Arc-E-Tect deleted the gherkin-to-asciidoc-indexing-ci-override branch August 5, 2026 12:09
Arc-E-Tect added a commit that referenced this pull request Aug 5, 2026
# [2.1.0](v2.0.0...v2.1.0) (2026-08-05)

### ✨ New and updated features

* **gherkin-to-asciidoc:** add ci indexing value and a CLI override for the whole build ([#102](#102)) ([063c069](063c069)), closes [#102](#102) [#99](#99)

### 📝 Documentation

* **gherkin-to-asciidoc:** add multi-project example demonstrating the indexing modes ([#100](#100)) ([a0cd7a7](a0cd7a7)), closes [#100](#100)
* **gherkin-to-asciidoc:** document the indexing property and the includeSubDirs/groupByFeature default changes ([#101](#101)) ([9fe4afd](9fe4afd)), closes [#101](#101) [#99](#99)
@Arc-E-Tect

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant