Commit 9c20c06
committed
fix(pages): stop Jekyll dropping _shared.lua from the published site
Irish transcription is broken in production with a 404 on
wiktionary_pron/lua_modules/ga-passes/_shared.lua.
The Pages build runs actions/jekyll-build-pages (see
.github/workflows/jekyll-gh-pages.yml), and Jekyll excludes any path whose
basename begins with an underscore. The file is committed and correct, but it
never reaches the built site. Confirmed against production: in the same
directory and commit, 01_polarity.lua returns 200 while _shared.lua returns
404 — the only difference is the leading underscore.
This breaks Irish completely: all 17 passes plus the engine require the module,
so the first fetch fails and nothing transcribes.
Adding _config.yml with an explicit `include` puts the file back in the build
output. Note that a .nojekyll file would NOT help here: that only bypasses the
legacy Pages pipeline, not an explicit jekyll-build-pages run.
Chose this over renaming the file to shared.lua, which would have touched 19
call sites and broken the byte-identical invariant with the source repo
(wiktionary_ipa_phoneme_lexicons/irish/passes/), where the module is _shared.lua
and the sync is a mechanical passes. -> ga-passes. rewrite.
_shared.lua is currently the only underscore-prefixed tracked file in the repo.1 parent 7f23a24 commit 9c20c06
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments