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

filter example subdir files by shown type #29

Merged

Conversation

FoamyGuy
Copy link
Collaborator

and omit directories if there are no shown filetypes inside of them.

It was reported that .md files were being included erroneously i.e.
image

It turns out the filtering was occuring only on files in the root dir, not ones found in sub-directories. This change implements filtering on shown filetypes for files in subdirectories which in this case causes both gpio.md and esp32spi_gpio.py to filtered out and therefore the gpio/ to be omitted.

image

Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Thanks!

@dhalbert dhalbert merged commit 2db4937 into circuitpython:main Jan 14, 2025
2 checks passed
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.

2 participants