Skip to content

Generate plugin reference docs and deploy via GitHub Pages#436

Merged
timtebeek merged 1 commit intomainfrom
tim/generate-docs
Apr 11, 2026
Merged

Generate plugin reference docs and deploy via GitHub Pages#436
timtebeek merged 1 commit intomainfrom
tim/generate-docs

Conversation

@timtebeek
Copy link
Copy Markdown
Member

@timtebeek timtebeek commented Apr 11, 2026

Summary

  • Extend DocumentationSyncTest to generate a Markdown plugin reference page (docs/plugin-reference.md) from RewriteExtension Javadoc and task descriptions, covering all 14 configuration properties and 3 tasks
  • Configure the built-in Javadoc task in build.gradle.kts with proper title and API links for full HTML API documentation
  • Add a GitHub Pages workflow (.github/workflows/pages.yml) that publishes both the curated Markdown reference and full Javadoc on version tags, mirroring the approach used in rewrite-maven-plugin
  • Closes Investigate automating Gradle plugin documentation #215

Test plan

  • ./gradlew :plugin:test --tests "org.openrewrite.gradle.DocumentationSyncTest" passes
  • ./gradlew :plugin:javadoc generates HTML output
  • Verify GitHub Pages deployment after first version tag

Extend DocumentationSyncTest to generate a Markdown reference page from
RewriteExtension Javadoc and task descriptions. Configure the Javadoc task
for full API docs, and add a GitHub Pages workflow to publish both.
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Apr 11, 2026
@timtebeek timtebeek merged commit fe5c3c9 into main Apr 11, 2026
2 checks passed
@timtebeek timtebeek deleted the tim/generate-docs branch April 11, 2026 23:06
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Investigate automating Gradle plugin documentation

1 participant