primitivefinance / primitive-dodoc

☄️ Zero-config Hardhat plugin to generate documentation for all your Solidity contracts.
MIT License
135 stars 16 forks source link

Extended the config options - "include" & "exclude" to support folders. #18

Closed indeavr closed 2 years ago

indeavr commented 2 years ago

This is useful when you have many contracts and you want to exclude the "test" contacts from doc generation for example without having to write a long array of names.

Changes at line 45-53. Example configs:

[
  "contracts/test-examples",
  "test-examples",
  "ExampleContract"
]

Let me know if there is anything else :)

clemlak commented 2 years ago

Thank you for this PR! I'm merging it into a new branch, the feature will be included in the next release 🙏