-
0.4.3
Stablereleased this
2026-07-08 13:29:13 +03:00 | 0 commits to main since this releaseNDJSON 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 nowexports/man<sec>.<lang>.ndjson.zst; the manifest, home-page links and prune set are updated, and stale.gz/.xzshards are pruned on the first run. Consumer must decompress zstd (thedify-datasource-ndjsonplugin). - 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
- Export compression → zstd (
-
0.4.2
Stablereleased this
2026-07-07 22:18:35 +03:00 | 2 commits to main since this releaseSwitch 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-vendoredgithub.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
.gzshards are pruned on the first run.
Consumer note: the export consumer must now decompress xz (the
dify-datasource-ndjsonplugin).Downloads
- The machine-readable export is now
-
0.4.1
Stablereleased this
2026-07-07 22:01:46 +03:00 | 3 commits to main since this releaseExport 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
#fragmentURLs 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
- Don't mistake man-body
-
0.4.0
Stablereleased this
2026-07-07 14:55:28 +03:00 | 5 commits to main since this releaseExport quality, legacy-encoding recovery, and site polish.
NDJSON export (Dify knowledge base)
- Fix the
textfield 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
govulncheckworkflow (weekly + manual) on the ALT runner.
Closes #33, #34, #37. Search-ranking #16 confirmed resolved; oversized-record splitting tracked in #43.
Downloads
- Fix the
-
0.3.0
Stablereleased this
2026-07-06 19:45:50 +03:00 | 10 commits to main since this releaseVertical 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. ReadsRepository: <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
- Full-height vertical bar at the left edge of the viewport (our
-
0.2.0
Stablereleased this
2026-07-06 16:46:33 +03:00 | 11 commits to main since this releaseCross-branch page de-duplication.
- Drop the
manpage:branchmeta tag so an otherwise-identical page is byte-identical across branches (the branch lives in the URL, the NDJSON export,branches.jsonandbranch-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;
cleanForRebuildmaterializes cross-branch symlinks back into real files before every rebuild so Pagefind always sees real content.Downloads
- Drop the
-
0.1.0
Stablereleased this
2026-07-03 22:33:05 +03:00 | 14 commits to main since this releaseDownloads
-
0.0.9
Stablereleased this
2026-07-03 21:44:59 +03:00 | 15 commits to main since this releaseDownloads
-
0.0.8
Stablereleased this
2026-07-03 21:17:13 +03:00 | 16 commits to main since this releaseDownloads
-
0.0.7
Stablereleased this
2026-07-03 20:09:29 +03:00 | 19 commits to main since this releaseDownloads