update thumbs
Deploy Website / build (push) Successful in 22s Details

This commit is contained in:
James Ravenscroft 2024-12-17 11:25:33 +00:00
parent a9be654146
commit a943d0bba7
1 changed files with 2 additions and 4 deletions

View File

@ -2,6 +2,7 @@
date: '2024-12-17T11:25:01.697646' date: '2024-12-17T11:25:01.697646'
post_meta: post_meta:
- date - date
preview: /social/583393885882e8ac86fe92c2cab04ade8aa5574e958d87bf60ed34958c596898.png
tags: tags:
- softeng - softeng
- python - python
@ -11,12 +12,9 @@ tags:
title: Fixing Missing Subdirs in Notesync title: Fixing Missing Subdirs in Notesync
type: posts type: posts
url: /posts/2024/12/17/fixing-missing-subdirs-in-notesync1734434701 url: /posts/2024/12/17/fixing-missing-subdirs-in-notesync1734434701
--- ---
<p>Last year I wrote a small utility called <a href="https://git.jamesravey.me/ravenscroftj/notesync">notesync</a> to assist in <a href="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 <a href="https://quartz.jzhao.xyz/">quartz</a>.</p>
<p>Last year I wrote a small utility called <a href="https://git.jamesravey.me/ravenscroftj/notesync">notesync</a> to assist in <a href="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 <a href="https://quartz.jzhao.xyz/">quartz</a>.</p>
<p> <p>
Today I noticed that content that was in a subfolder was not being detected or synchronised properly. I worked out that the Python <a href="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. Today I noticed that content that was in a subfolder was not being detected or synchronised properly. I worked out that the Python <a href="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.
<br /> <br />