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

settings: Change the default IGNORE_FILES to all "hidden" files. #3424

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

projectgus
Copy link

This is to avoid subtle behaviour that contributed to root cause of pelican-plugins/sitemap#36

Specifically: if installing Pelican into a local virtualenv with the pdm or uv default name ".venv", then subdirectories of .venv will contain all of the test .rst and .md files.

If you then run Pelican in that same root directory using the default PATH value (".") then it will add those content files to the site.

Pull Request Checklist

Resolves: #issue-number-here

  • Ensured tests pass and (if applicable) updated functional test output
  • Conformed to code style guidelines by running appropriate linting tools
  • Added tests for changed code
  • Updated documentation for changed code

(I haven't added a new test for the default setting, but I can if needed.)

This is to avoid subtle behaviour that contributed to root cause of
pelican-plugins/sitemap#36

Specifically: if installing Pelican into a local virtualenv with the pdm or uv
default name ".venv", then subdirectories of .venv will contain all of the test
.rst and .md files.

If you then run Pelican in that same root directory using the default PATH
value (".") then it will add those content files to the site.
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

Successfully merging this pull request may close these issues.

1 participant