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

Add checking for main module's separate .pod file #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rafork
Copy link

@rafork rafork commented Apr 30, 2023

Hi, I'm using Pod2Readme via the Starter bundle, and was surprised to discover that it was producing an empty README file. My main module's pod source is in a separate .pod file alongside the .pm file. I used the source_filename parameter to specify the .pod file and it worked, but I didn't think I should need to do that (since I don't need to specify the main module anywhere else in dist.ini). My understanding is that a separate .pod file is a reasonably normal thing to do.

So this patch makes Pod2Readme check for the existence of a separate .pod file for the main module, and uses that as the source instead without requiring the user to resort to an explicit source_filename parameter.

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