Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Respect ignored files (.gitignore) #33

Open
Rukenshia opened this issue May 22, 2022 · 1 comment · May be fixed by #56
Open

Respect ignored files (.gitignore) #33

Rukenshia opened this issue May 22, 2022 · 1 comment · May be fixed by #56

Comments

@Rukenshia
Copy link

Rukenshia commented May 22, 2022

I just tried doctree for the first time on a Python project.
It's a serverless.com deployed project and I noticed that when I run doctree index ., files in my node_modules directory were indexed as well - this included all the markdown files in the node_modules and some go files that are part of the serverless npm package (some templates from what it looks like).

I didn't find any similar issues yet but I think it generally might be a good idea to not index files in .gitignore, or provide a different mechanism to allow me to ignore certain files or directories.

@slimsag
Copy link
Member

slimsag commented May 23, 2022

Absolutely agree, this is a top priority for me to fix. Thanks for filing the issue!

@Siddhant-K-code Siddhant-K-code linked a pull request Aug 28, 2022 that will close this issue
1 task
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 a pull request may close this issue.

2 participants