Closed d1onys1us closed 1 year ago
I can't reproduce this. exclude: ['./test']
should work. Are you deleting the directory and it gets regenerated? If so, please share your repo so I can try it out.
elin
might be something you had previously... you should try hardhat clean
and then generate docs again.
console.md
is odd, it may also be the above. Are you using the latest 0.6 version?
i will close this issue because it turns out the elin and console.md files being generated were because i also had another docgen tool installed, and both of them were running on compile.
Description of problem
Here is the configuration within
hardhat.config.ts
:I have a folder
test
, in my contracts src directory. I have tried many patterns such astest
,./test/
,**/test/**
,test/**/*
, etc. None of them seem to work. Mytemplates
directory is just a copy of thetemplates/markdown
directory in this repo, because I wasn't sure how else to override the default templates.Additionally, on the topic of things getting generated -- I have noticed two more random doc generations:
elin
folder is generated with OpenZeppelin contracts in it, however I do not have these contracts in my source directory.console.md
file is generated in the root.Desired resolution
elin/*
andconsole.md