links in markdown
This is curious. My link checking logic in my build script has pointed out some missing pages with my last few builds.
T282828
Te6edf3logger Tff7b72= Te6edf3loggingTff7b72.Td2a8ffgetLoggerTb4b4b4(Tff7b72__name__Tb4b4b4)
Tff7b72for Te6edf3l Tff7b72in Tb4b4b4[Te6edf3l Tff7b72for Te6edf3l Tff7b72in Te6edf3managerTff7b72.Td2a8ffget_links_from_sourceTb4b4b4(Te6edf3sourceTb4b4b4) Tff7b72if Ta5d6ff"Ta5d6ff:Ta5d6ff" Tff7b72not Tff7b72in Te6edf3lTb4b4b4]Tb4b4b4:
Te6edf3path Tff7b72= Te6edf3PathTb4b4b4(Te6edf3destinationTb4b4b4) Tff7b72/ Te6edf3l
Tff7b72if Tff7b72not Te6edf3pathTff7b72.Td2a8ffexistsTb4b4b4(Tb4b4b4)Tb4b4b4:
Te6edf3src_path Tff7b72= Te6edf3PathTb4b4b4(Te6edf3directoryTb4b4b4) Tff7b72/ Te6edf3l
Te6edf3loggerTff7b72.Td2a8ffwarningTb4b4b4(Ta5d6fffTa5d6ff"Ta5d6ffLooking for [Tffd700{Te6edf3src_pathTffd700}Ta5d6ff]Ta5d6ff"Tb4b4b4)
Tff7b72if Te6edf3src_pathTff7b72.Td2a8ffexistsTb4b4b4(Tb4b4b4) Tff7b72and Tff7b72not Te6edf3pathTff7b72.Td2a8ffsuffixTff7b72.Td2a8ffendswithTb4b4b4(Ta5d6ff'Ta5d6ff.muTa5d6ff'Tb4b4b4)Tb4b4b4:
Te6edf3shutilTff7b72.Td2a8ffcopyfileTb4b4b4(Te6edf3src_pathTb4b4b4, Te6edf3pathTb4b4b4)
Te6edf3loggerTff7b72.Td2a8ffinfoTb4b4b4(Ta5d6fffTa5d6ff"Ta5d6ffCopied missing file Tffd700{Te6edf3lTffd700}Ta5d6ff into placeTa5d6ff"Tb4b4b4)
Tff7b72elseTb4b4b4:
Te6edf3loggerTff7b72.Td2a8fferrorTb4b4b4(Ta5d6fffTa5d6ff"Tffd700{Te6edf3sourceTffd700}Ta5d6ff links to [Tffd700{Te6edf3lTffd700}Ta5d6ff], but Tffd700{Te6edf3src_pathTffd700}Ta5d6ff was not foundTa5d6ff"Tb4b4b4)
I inserted brackets around the string of the link and discovered there was a space.
It turns out that this:
T282828
A [link].
[Te6edf3link]: Te6edf3some-page.mu
Was extracting the link as T383838[ some-page.mu].
I'm not sure if this is a bug or a feature. The pages that it complained about were still linked just fine in the final gemini output, so I'm going to side with bug. But I think maybe I'll make the script complain about such links instead of saying they're missing.
Feels wrong to automatically correct the source document. And it feels wrong to just ignore it. So a warning it will be.
Tags: meta
Tags
Navigation