feat: update tg-ws-proxy and its options

This commit is contained in:
FUFSoB committed 2026-06-20 17:48:22 +05:00
1 parent 1f5e050cb2
commit 190ba24ce6
6 files changed
+732 -29

No files matched your search

+21 -4
View File
@@ -262,8 +262,25 @@ pkgs.runCommand "proxy-suite-options.md" { } ''
}
' "$section_index"
cat "$preamble" >"$out"
cat "$toc" >>"$out"
printf '\n' >>"$out"
cat "$sections_with_anchors" >>"$out"
raw="$TMPDIR/options.md.raw"
cat "$preamble" >"$raw"
cat "$toc" >>"$raw"
printf '\n' >>"$raw"
cat "$sections_with_anchors" >>"$raw"
awk '
NF {
for (i = 0; i < blanks; i++) {
print ""
}
blanks = 0
print
next
}
{
blanks++
}
' "$raw" >"$out"
''