0

I'm using Dist::Zilla to generate a README.mkdn file. I want to inject installation instructions into it using Pod::Weaver::Section::Installation. Not sure if this can be done. There's probably a better way to do this.

Here is my weaver.ini file in my Dist::Zilla profile:

[@CorePrep]

[Name]
[Version]

[Generic / SYNOPSIS]
[Generic / DESCRIPTION]

[Collect / ATTRIBUTES]
command = attr

[Collect / METHODS]
command = method

[Generic / CONFIGURATION AND ENVIRONMENT]
[Generic / DEPENDENCIES]
[Generic / INCOMPATIBILITIES]
[Generic / BUGS AND LIMITATIONS]

[Installation]
[Authors]
[Legal]

[-Transformer]
transformer = List
Mogsdad
  • 44,709
  • 21
  • 151
  • 275
StevieD
  • 6,925
  • 2
  • 25
  • 45

1 Answers1

0

OK, I thought it would use weaver.ini from my profile. Apparently, that isn't the case. I had to put the file in the root of the repo directory.

StevieD
  • 6,925
  • 2
  • 25
  • 45