Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Ignore additional top-level directories #241

Merged
merged 2 commits into from
Apr 17, 2021
Merged

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Mar 30, 2021

Related to #234

Building upon #229, which ignores hidden directories ./Tests/, this PR also ignores the following top-level directories:

  • node_modules
  • Packages
  • Pods
  • Resources

Copy link
Member

@Lukas-Stuehrk Lukas-Stuehrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Nice change, I like the idea that the default behavior and configuration for swift-doc does the "right" thing for most projects. Especially since it's still possible to include those directories if needed by providing their full path additionally in the list of paths.

There's a little logic bug, which needs to be fixed, otherwise the directories won't be excluded.

@mattt mattt requested a review from Lukas-Stuehrk April 17, 2021 19:50
@mattt
Copy link
Contributor Author

mattt commented Apr 17, 2021

@Lukas-Stuehrk Seriously, thanks again for catching my mistake here. I'm excited to get this merged and cut a new beta soon.

@mattt mattt merged commit 0ecb3fc into master Apr 17, 2021
@mattt mattt deleted the ignore-top-level-directories branch April 17, 2021 20:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants