• 0.4.3 7c428a4ace

    0.4.3
    Some checks failed
    ci / test (push) Successful in 1m10s
    release / release (push) Failing after 1m6s
    Stable

    shaba released this 2026-07-08 13:29:13 +03:00 | 0 commits to main since this release

    NDJSON export switched to zstd, and the on-this-page TOC shown on more screens.

    • Export compression → zstd (github.com/klauspost/compress, pure Go, no external binary). ~20% smaller than gzip on real data (man5.en: 6.16 MB → ~4.96 MB), compressing the whole export in seconds. One reused encoder per run with bounded multi-threading (WithEncoderConcurrency = half the cores, capped at 8), so a 100+-core host is not saturated. Exports are now exports/man<sec>.<lang>.ndjson.zst; the manifest, home-page links and prune set are updated, and stale .gz/.xz shards are pruned on the first run. Consumer must decompress zstd (the dify-datasource-ndjson plugin).
    • On-this-page TOC now becomes the sticky right-edge sidebar from 60rem (960px) instead of 82rem, so common laptop/tablet widths get it (it was falling back to the top box below 1312px).

    Supersedes the interim xz attempt in 0.4.2 (pure-Go xz gave only ~11%).

    Downloads
  • 0.4.2 210cb18eb0

    0.4.2
    Some checks failed
    ci / test (pull_request) Successful in 45s
    ci / test (push) Successful in 1m5s
    release / release (push) Failing after 59s
    Stable

    shaba released this 2026-07-07 22:18:35 +03:00 | 2 commits to main since this release

    Switch the NDJSON export from gzip to xz.

    • The machine-readable export is now exports/man<sec>.<lang>.ndjson.xz (LZMA2), ~30% smaller than gzip on real data (man5.en: 6.16 MB → 4.34 MB). Uses the already-vendored github.com/ulikunitz/xz, no new dependency.
    • Buckets are compressed concurrently with a bounded worker pool (about half the cores, never all of a many-core host, never more than the file count); disk writes stay serial.
    • Manifest, home-page links and Russian copy updated; stale .gz shards are pruned on the first run.

    Consumer note: the export consumer must now decompress xz (the dify-datasource-ndjson plugin).

    Downloads
  • 0.4.1 ff6d144573

    0.4.1
    Some checks failed
    ci / test (push) Successful in 46s
    release / release (push) Failing after 48s
    Stable

    shaba released this 2026-07-07 22:01:46 +03:00 | 3 commits to main since this release

    Export chunking and man-page display polish (follow-up to 0.4.0).

    NDJSON export (Dify knowledge base)

    • Don't mistake man-body # lines for headings. man5 file-format pages render config examples as <dd>/<br> lists (not <pre>), leaving lines like # This is the default configuration: outside a code fence where a Markdown chunker read them as H1 headings. Such lines are now escaped (\#) so they are not treated as headings; content inside a real code fence is left verbatim.
    • Strip literal image markup inside <pre> examples too (lowdown.5), so an importer never fetches a documented example URL.

    Man page display

    • The "On this page" table of contents becomes a fixed sidebar at the right edge on wide viewports, staying in place while the page scrolls; the content shifts left to make room.
    • Remove mandoc's self-referential heading anchors — section headings were ugly hyperlinks-to-themselves; they are now plain text, with the anchor id kept so #fragment URLs and the TOC still navigate.

    The other reported man5 heading/empty-section/hard-wrap counts were config content correctly inside code fences — handled by a fence-aware chunker (parent_mode: full_doc), not export defects.

    Downloads
  • 0.4.0 a98272a571

    0.4.0
    Some checks failed
    ci / test (push) Successful in 54s
    release / release (push) Failing after 52s
    Stable

    shaba released this 2026-07-07 14:55:28 +03:00 | 5 commits to main since this release

    Export quality, legacy-encoding recovery, and site polish.

    NDJSON export (Dify knowledge base)

    • Fix the text field for clean chunking: collapse Unicode whitespace (no more empty chunks → embedder 400s), heading hierarchy (page title H1, sections H2, subsections H3, glued to their bodies), drop inline over-bold, strip literal image markup, drop empty sections, skip mojibake records.
    • Recover legacy 8-bit man sources (KOI8-R, CP1251, Latin-1): transcode to UTF-8 before mandoc (by coding cookie, else a Cyrillic/Western heuristic) and force mandoc -K utf-8, so previously-garbled pages now render real text instead of being dropped.

    Site

    • Enriched page <title>: name(section) from ALT Linux <package>-<version> (branch-agnostic, de-dup preserved).
    • "On this page" table of contents on long man pages (client-side, localized).

    CI

    • Scheduled govulncheck workflow (weekly + manual) on the ALT runner.

    Closes #33, #34, #37. Search-ranking #16 confirmed resolved; oversized-record splitting tracked in #43.

    Downloads
  • 0.3.0 fdaa58a918

    0.3.0
    Some checks failed
    ci / test (pull_request) Successful in 46s
    ci / test (push) Successful in 1m5s
    release / release (push) Failing after 1m8s
    Stable

    shaba released this 2026-07-06 19:45:50 +03:00 | 10 commits to main since this release

    Vertical branch bar + per-branch stats panel (packages.altlinux.org style).

    • Full-height vertical bar at the left edge of the viewport (our --accent-1) replacing the floating ⎇ toggle. Reads Repository: <branch> (RU: Репозиторий: <branch>) — the prefix is localized via i18n, the branch name is filled client-side from the URL, so the page HTML stays branch-agnostic and keeps de-duplicating across branches.
    • Opening the panel pushes the page content aside on a wide viewport (overlay on narrow), matching packages.
    • The panel adapts to the page: on a man page it lists each branch's package version; on the branch home (and other non-man pages) it lists each branch's total page count, linking to that branch's home.
    • New site-root branch-stats.json (branch → page count), retained for skipped branches and pruned for unconfigured ones.
    Downloads
  • 0.2.0 45e4bb887e

    0.2.0
    Some checks failed
    ci / test (pull_request) Successful in 1m1s
    ci / test (push) Successful in 1m0s
    release / release (push) Failing after 46s
    Stable

    shaba released this 2026-07-06 16:46:33 +03:00 | 11 commits to main since this release

    Cross-branch page de-duplication.

    • Drop the manpage:branch meta tag so an otherwise-identical page is byte-identical across branches (the branch lives in the URL, the NDJSON export, branches.json and branch-versions, not the page body).
    • After all branches render, pages whose HTML is byte-identical are kept once (in the earliest branch) and the copies replaced with relative symlinks — git stores the blob once and the working tree holds one file per unique page instead of N.

    Search is unaffected: each branch's Pagefind runs on its real files before the dedup pass; cleanForRebuild materializes cross-branch symlinks back into real files before every rebuild so Pagefind always sees real content.

    Downloads
  • 0.1.0 ff04f1d94b

    0.1.0
    Some checks failed
    ci / test (pull_request) Successful in 1m27s
    ci / test (push) Successful in 45s
    release / release (push) Failing after 1m1s
    Stable

    shaba released this 2026-07-03 22:33:05 +03:00 | 14 commits to main since this release

    Downloads
  • 0.0.9 2ecadc1497

    0.0.9
    Some checks failed
    ci / test (pull_request) Successful in 46s
    ci / test (push) Successful in 44s
    release / release (push) Failing after 1m5s
    Stable

    shaba released this 2026-07-03 21:44:59 +03:00 | 15 commits to main since this release

    Downloads
  • 0.0.8 b643e5982e

    0.0.8
    Some checks failed
    ci / test (pull_request) Successful in 47s
    ci / test (push) Successful in 44s
    release / release (push) Failing after 1m2s
    Stable

    shaba released this 2026-07-03 21:17:13 +03:00 | 16 commits to main since this release

    Downloads
  • 0.0.7 38ffd31011

    0.0.7
    Some checks failed
    ci / test (pull_request) Successful in 55s
    ci / test (push) Successful in 45s
    release / release (push) Failing after 1m1s
    Stable

    shaba released this 2026-07-03 20:09:29 +03:00 | 19 commits to main since this release

    Downloads