Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Sep 7, 2025

No description provided.

@matzbot
Copy link
Collaborator

matzbot commented Sep 7, 2025

🚀 Preview deployment available at: https://b042d312.rdoc-6cd.pages.dev (commit: ec2375f)

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

Comment on lines -63 to 64
s.rdoc_options = ["--main", "README.rdoc"]
s.rdoc_options = ["--main", "README.md"]
s.extra_rdoc_files += s.files.grep(%r[\A[^\/]+\.(?:rdoc|md)\z])
Copy link
Member

Choose a reason for hiding this comment

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

Can we use .rdoc_options instead of duplicated configurations here?

Copy link
Member

Choose a reason for hiding this comment

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

This option is in .rdoc_options already, so we can drop it here.

Copy link
Member Author

Choose a reason for hiding this comment

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

.rdoc_options is not packaged in the gem tho. I also don't think we should use it for gem's doc options anyway because as of now .rdoc_options usually specify configs specifically for web docs.
We should probably provide clearer instructions or even APIs to help distinguish options for different environments. But I don't have any good ideas on this yet.

Copy link
Member

Choose a reason for hiding this comment

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

I see.

@st0012 st0012 merged commit 2308312 into master Sep 16, 2025
62 checks passed
@st0012 st0012 deleted the convert-readme branch September 16, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants