lsms-worldbank / adodownr

⏬ Create Quarto package documentation website for Stata packages
Other
6 stars 1 forks source link

Ignore `src/mdhlp/README.md` when building site #10

Closed kbjarkefur closed 10 months ago

kbjarkefur commented 10 months ago

When setting up a new adodown project with the Stata command ad_setup, this file src/mdhlp/README.md is created with instructions about the mdhlp folder.

When building the site using adodownr that README should not be included.

Here is where I think all .md files in src/mdhlp/ is listed: https://github.com/lsms-worldbank/adodownr/blob/b3c86272f71587ae9d1bd7c2be7a3a13db373d28/R/build.R#L180-L186

And here is the definition of the function that is used. I guess this function should allow for a parameter that is a list of file names to skip: https://github.com/lsms-worldbank/adodownr/blob/b3c86272f71587ae9d1bd7c2be7a3a13db373d28/R/build.R#L16-L31

This is not urgent as the work-around is to delete the file src/mdhlp/README.md. But that's not a great long term solution.