Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract excerpt from RDoc::Markup::Document (raw pages) correctly #1200

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Nov 8, 2024

@st0012 st0012 added the bug label Nov 8, 2024
@st0012 st0012 self-assigned this Nov 8, 2024
@st0012 st0012 requested a review from hsbt November 8, 2024 15:44
@st0012 st0012 changed the title Extract excerpt from RDoc::Markup::Document (page documents) correctly Extract excerpt from RDoc::Markup::Document (raw pages) correctly Nov 9, 2024
@st0012 st0012 modified the milestones: v6.8.0, v7.0.0 Nov 13, 2024
@@ -1,7 +1,7 @@
# frozen_string_literal: true
require_relative 'helper'

class TestRDocGeneratorDarkfish < RDoc::TestCase
class RDocGeneratorDarkfishTest < RDoc::TestCase
Copy link
Contributor

Choose a reason for hiding this comment

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

This class name change is... unconventional (I looked at the neighboring files). Is it intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is intentional because class names should be noun (FooTest) instead of (TestFoo). It also makes them work with ruby-lsp's CodeLens feature.
In IRB I did a big batch of rename so it's been like this in most if not all tests. But given RDoc still has relatively low development activities, I just change them as I touch things.

Copy link
Contributor

Choose a reason for hiding this comment

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

@st0012 Thanks for providing that context. Seems like a good thing!

@st0012 st0012 merged commit 3c67824 into master Nov 18, 2024
51 checks passed
@st0012 st0012 deleted the fix-#20862 branch November 18, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants