I have 2 directories, one to keep to generate documentation and not the other one. They're:
Directory client-dev
is to be included in generating documentation. The other one, client
should not be included.
My.esdoc.json file:
{
...
"excludes": ["(node_modules|client)"]
...
}
Specifying client
in the excludes
option above will exclude client-dev
too because it contains the word client
. How to keep client-dev
but exclude client
?
I found it out how, it's rather simple.
Adding a slash after client
will exclude everything in it, and that doesn't spoil the selection of files in client-dev
:
{
...
"excludes": ["(.git|node_modules)","client/"]
...
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.