diff options
| -rwxr-xr-x | dzref | 4 | ||||
| -rwxr-xr-x | gendocs | 2 | ||||
| -rw-r--r-- | md.bqn | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -91,10 +91,10 @@ _withRef ← ˙ pre ← E_proc¨ lf((⊢-˜¬×+`)∘=⊔⊢)impl ExecFile←{ src ← E_nodef¨ •FLines 𝕩 - ⟨⟨⟩,"",(∨`⌾⌽'/'=𝕩)/𝕩⟩ Raw ∾ ∾⟜lf¨ src + ((•path⊸∾⌾⊑(2∾˜∧`⌾⌽'/'≠𝕩)⊔𝕩)∾⟨𝕨⟩) Raw ∾ ∾⟜lf¨ src } _withRef ↩ {𝔽∘E_nodef⊘(𝔽⟜E_nodef)} X↩Raw _withRef Raw ∾ ∾⟜lf¨ pre - ≠◶(X˙)‿{ExecFile ⊑𝕩}‿{ExecFile ⊑𝕩 ⋄ X 1⊑𝕩} •args + (1⊸↓ ExecFile ⊑) •args } @@ -2,4 +2,4 @@ # Generate HTML files from markdown ones # Argument gives specific files if present; otherwise convert everything -./dzref md.bqn "ConvertFile¨ (¬×+\`)⊸-∘=⟜' '⊸⊔ \"$(echo ${1-*.md */*.md} ${@:2:$#})\"" +./dzref md.bqn ${1-*.md */*.md} ${@:2:$#} @@ -659,3 +659,5 @@ ConvertFile ← { front ← head ∾○(∾⟜lf) nav ("docs/"∾fileout) •FChars front ∾ out } + +ConvertFile¨ •args |
