Skip to content

Correctly apply rdoc prerequisite - #4209

Merged
Earlopain merged 1 commit into
ruby:mainfrom
Earlopain:fix-pages-docs
Aug 19, 2026
Merged

Correctly apply rdoc prerequisite#4209
Earlopain merged 1 commit into
ruby:mainfrom
Earlopain:fix-pages-docs

Conversation

@Earlopain

Copy link
Copy Markdown
Collaborator

I thought this didn't actually work but it seems it is necessary this way. Unclear why enhance worked for the docs workflow but not for pages

It thought this didn't actually work but it seems it is necessary this way.
Unclear why `enhance` worked for the docs workflow but not for pages
@Earlopain
Earlopain marked this pull request as ready for review August 19, 2026 12:55
Copilot AI lite review requested due to automatic review settings August 19, 2026 12:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts how the compile prerequisite is attached to the RDoc rake tasks so it reliably runs before RDoc’s own prerequisites/actions, and then removes an explicit “templates” step from the GitHub Pages workflow since templating/compilation is now handled via the RDoc task prerequisites.

Changes:

  • Prepend compile to the prerequisite list for rdoc, rerdoc, and rdoc:coverage tasks (instead of using enhance).
  • Remove the explicit bundle exec rake templates step from the GitHub Pages workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
rakelib/rdoc.rake Ensures compile runs before RDoc task execution by prepending it to prerequisites.
.github/workflows/github-pages.yml Drops the standalone templates step now that RDoc tasks enforce compilation/templating ordering.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Earlopain

Copy link
Copy Markdown
Collaborator Author

I wish I could block this waste of resources

@Earlopain
Earlopain merged commit 3ea210b into ruby:main Aug 19, 2026
101 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants