Skip to content

Exclude directories from SELECT menu #1815

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

Merged
merged 2 commits into from
Feb 7, 2025
Merged

Conversation

niksilver
Copy link
Contributor

@niksilver niksilver commented Feb 7, 2025

This is bug fix and an enhancement.

  1. It would be good to put test scripts in their own folder, out of the way of the main code, and to not have them show up in the SELECT menu. This change allows that by excluding a test folder from the SELECT menu.
  2. The documentation at https://monome.org/docs/norns/reference/#folder-structure says anything in a docs folder is excluded from the SELECT menu. That's not true (if it's a Lua script). This change also ensures that exclusion happens.

This change is documented in monome/docs PR #435.

According to https://monome.org/docs/norns/reference/#folder-structure
a scripts' `docs` directory won't be shown in the SELECT menu.
However, that doesn't happen. This change ensures it's excluded, as
intended.
niksilver added a commit to niksilver/monome-docs that referenced this pull request Feb 7, 2025
This documents [#1815](monome/norns#1815), which
excludes certain directories from the norns SELECT menu.
@tehn tehn merged commit 110ab7b into monome:main Feb 7, 2025
@tehn
Copy link
Member

tehn commented Feb 7, 2025

this is a good idea, thanks!

tehn pushed a commit to monome/docs that referenced this pull request Feb 7, 2025
This documents [#1815](monome/norns#1815), which
excludes certain directories from the norns SELECT menu.
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