Skip to content
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

Add "searchindex.js" to the default exclude list #27

Closed
ncoghlan opened this issue Aug 24, 2014 · 1 comment
Closed

Add "searchindex.js" to the default exclude list #27

ncoghlan opened this issue Aug 24, 2014 · 1 comment

Comments

@ncoghlan
Copy link

I mostly use pss to search CPython clones, and it frequently gets hits on the searchindex.js file generated by Sphinx.

Would it be worth adding "searchindex.js" to the default exclusion regexes?

Excluding it with "--nojs" is easy enough for my particular use case, but it wouldn't work so well for a web programming project that actually had also had real Javascript files to search.

@eliben
Copy link
Owner

eliben commented Aug 24, 2014

I'd actually be reluctant to ignore a file with such an ordinary name. I could envision some real JS project having a file with this name. For your CPython needs --nojs is an easy solution. Another is to add the whole Sphinx-generated directory to --ignore-dir (this would work for JS projects too).

@eliben eliben closed this as completed Jan 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants