Skip to content

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

Open
rafork wants to merge 1 commit intodagolden:masterfrom
rafork:raf-pod-separate
Open

Add checking for main module's separate .pod file#2
rafork wants to merge 1 commit intodagolden:masterfrom
rafork:raf-pod-separate

Conversation

@rafork
Copy link
Copy Markdown

@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