-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #156 by blacklisting node_modules and bower_components #271
Conversation
…rom FileGlob scan
Hi @Eonasdan, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! TTYL, DNFBOT; |
@Eonasdan, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR. |
I have a client project waiting for this fix before the other developers can use it. Any update on this? |
Hi @Eonasdan, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! The agreement was validated by .NET Foundation and real humans are currently evaluating your PR. TTYL, DNFBOT; |
Hi @Eonasdan , I am afraid this logic is too hard coded to be part of the glob logic. For the |
@vicancy I understand the hard coded part. Could it be read from a config file instead?
|
How about a |
upstream
@vicancy @chenkennt @vwxyzh what would like to do with this? As I mentioned, this is currently a blocking issue for one of my client projects. Also, I haven't done a lot with the new dnx projects. How do I debug the project without running |
why can't we use |
@chenkennt |
your commit doesn't work for me. Tried it in a test project.
|
Hi @Eonasdan , if the folder you want to exclude isn't located in the doc's root path, you should use |
Still didn't work. I uploaded a sample project. I removed the node and packages folder to keep the zip light weight so you'll need to restore those of course. |
@Eonasdan It's caused by some deep nested package, and it works for me to add "metadata": [
{
"src": [
{
"files": [ "**.sln" ],
"exclude": [
"**/obj/**",
"**/bin/**",
"site/**",
"**/node_modules/"
]
}
],
"dest": "obj/api"
}
], |
Next Monday, in DocFX 1.9 😃 |
fixes #156 by blacklisting node_modules and bower_components folders from FileGlob scan