From fea22871cff31ca40e114c4744a01a98a53462ec Mon Sep 17 00:00:00 2001 From: Adam French Date: Tue, 22 Sep 2026 13:44:48 +0100 Subject: [PATCH] Stop hiding private/ and templates/ from the notes editor SB_SPACE_IGNORE was set to quartz's ignorePatterns, which was the wrong thing to copy. The two settings answer different questions: quartz hides private/ because it must never be published, whereas SilverBullet is the editor, behind the admin gate, and hiding notes from it only stops them being edited. Now ignores .obsidian alone, which is editor config and plugin JS rather than notes. Quartz keeps its own ignorePatterns, so /notes/ publishes exactly what it did before; these files were already tracked in the notes repo, so nothing becomes newly reachable. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01BCQFvkvorAw1xwhd5gL2qZ --- docker-compose.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index fc02e7d..a247fd4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -342,12 +342,18 @@ services: # The app builds its service-worker scope and asset URLs from this, which # is why nginx must NOT strip the /sb/ prefix. See nginx.conf.template. SB_URL_PREFIX: /sb - # Mirrors quartz.config.ts.template's ignorePatterns so the editor hides - # what the published site hides. MUST be newline separated: a comma - # separated list is accepted silently and does nothing. + # Only .obsidian: it is editor config and plugin JS, not notes. + # + # Deliberately NOT quartz's ignorePatterns, which also lists private/ and + # templates/. Those two settings answer different questions: quartz hides + # private/ because it must never be PUBLISHED, whereas this is the editor, + # reachable only through the admin gate, and hiding notes from it just + # stops you editing them. Quartz keeps its own ignorePatterns, so nothing + # here changes what /notes/ publishes. + # + # MUST be newline separated: a comma separated list is accepted silently + # and does nothing. SB_SPACE_IGNORE: | - private - templates .obsidian # Pinned rather than inferred from the mount's owner, so the files it # writes match the vault's ownership on the host.