feat(config): add tool integrations and refine settings

This commit is contained in:
Prad Nukala committed 2026-10-13 09:45:51 -04:00
1 parent 2d9120f46f
commit e876c5c2ee
8 files changed
+32 -13

No files matched your search

+3 -4
View File
@@ -49,7 +49,7 @@ function gh-wiki --description "Clone a GitHub wiki and build one PDF from its M
set -q _flag_output; and set out $_flag_output
# --- Clone ----------------------------------------------------------
gum spin --spinner dot --title "Cloning $url" -- \
gum spin --show-error --spinner dot --title "Cloning $url" -- \
git clone --quiet --depth 1 $url $clone_dir
or begin
gum log --level error "Clone failed: $url"
@@ -94,7 +94,6 @@ function gh-wiki --description "Clone a GitHub wiki and build one PDF from its M
--shift-heading-level-by=1 \
--toc --toc-depth=2 \
--number-sections \
--syntax-highlighting idiomatic \
-M title="$repo Wiki" \
-M date=(date +%Y-%m-%d) \
-V titlepage=true \
@@ -106,7 +105,7 @@ function gh-wiki --description "Clone a GitHub wiki and build one PDF from its M
# pandoc/extra ships pandoc, LaTeX and Eisvogel. Mount the clone as
# /data, write the PDF there, then move it to the requested path.
set -l tmp_pdf _out.pdf
gum spin --spinner line --title "Rendering $out" -- \
gum spin --show-error --spinner line --title "Rendering $out" -- \
docker run --rm \
--volume "$clone_dir:/data" \
--user (id -u):(id -g) \
@@ -128,7 +127,7 @@ function gh-wiki --description "Clone a GitHub wiki and build one PDF from its M
else
gum log --level warn "Template '$template' not found; using the pandoc default"
end
gum spin --spinner line --title "Rendering $out" -- \
gum spin --show-error --spinner line --title "Rendering $out" -- \
pandoc $src -o $out \
--resource-path $clone_dir \
$pandoc_args \