<p>Last year I wrote a small utility called <ahref="https://git.jamesravey.me/ravenscroftj/notesync">notesync</a> to assist in <ahref="https://notes.jamesravey.me/My-Publication-Workflow">my digital garden publication workflow</a>. Thes script reads the frontmatter of my notes and looks for <i>public: true</i>. Then it copies notes from my private obsidian vault over to a public folder ready to be processed and published by <ahref="https://quartz.jzhao.xyz/">quartz</a>.</p>
Today I noticed that content that was in a subfolder was not being detected or synchronised properly. I worked out that the Python <ahref="https://docs.python.org/3/library/glob.html">glob</a> module has a recursive=true flag that I had forgotten to set. Setting this flag has resolved the problem and content in sub-sub directories is now appearing on my site.