Commit Graph

8 Commits

Author SHA1 Message Date
Sylvestre Ledru f0c206ab48 Improve theme patch: dynamic locale list, fix local file:// URLs
- Scan coreutils-l10n for available locales instead of hardcoding
- Fix language switcher to use relative path replacement so it works
  with both deployed and local file:// URLs
- Move links into the existing .additional div for better layout
2026-03-22 09:35:02 +01:00
Sylvestre Ledru 6e9e149052 Add build-docs-l10n.sh for multi-language mdbook docs
Generates translated documentation by swapping locale .ftl files
into en-US.ftl (since uudoc hardcodes that filename), re-running
uudoc with translated tldr examples, and building mdbook per language.
2026-03-22 09:13:28 +01:00
Sylvestre Ledru 3d55b20997 Add mdbook theme patch with language selector and utility links
Injects a dropdown language selector and "Source code" / "Report an
issue" links into utility pages via head.hbs JavaScript.
2026-03-22 09:13:19 +01:00
Sylvestre Ledru f3ff4f42a3 Remove manpage generation in favor of mdbook docs
The existing mdbook docs at /coreutils/docs/ already provide utility
documentation. Remove the redundant manpage HTML generation scripts
and templates.
2026-03-22 09:13:11 +01:00
Sylvestre Ledru f16fe412fd Fix CI: copy l10n before docs build, handle manpage build failures
- Move l10n locale copy to a separate workflow step before docs build
  to avoid triggering uudoc rebuilds with different cargo features
- Build uudoc once, then reuse for all languages
- Handle per-language build failures gracefully (skip and continue)
- Remove unused L10N_DIR parameter from build-all-manpages.sh
2026-03-21 23:03:03 +01:00
Sylvestre Ledru f04cdb2e69 Add build-all-manpages.sh for multi-language manpage generation
Orchestrates manpage builds for 19 languages: downloads per-language
tldr archives, copies l10n locales into coreutils, generates manpages
with the appropriate LANG setting, and invokes build-manpages.sh with
English tldr fallback for each language.
2026-03-21 22:23:18 +01:00
Sylvestre Ledru 8f16f6bfcd Add language and fallback tldr support to build-manpages.sh
Accept optional lang and fallback-tldr-dir parameters. When a
translated tldr page is missing, fall back to the English version
with a notice linking to the tldr translation contributing guide.
2026-03-21 22:23:13 +01:00
Sylvestre Ledru 9929d430db improve the rendering of the man pages 2026-03-21 20:38:55 +01:00