Commit Graph

192 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 7f9102ed0c Replace manpage build with multi-language mdbook docs in CI
- Remove manpage generation step and man2html dependency
- Add mdbook theme patching for language selector and utility links
- Repack tldr zip with pages/ prefix (uudoc expects this structure)
- Build translated docs via build-docs-l10n.sh for 18 languages
- Collect translated docs to /coreutils/docs-{lang}/
2026-03-22 09:13:57 +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 96cc48809d Fix l10n copy: only copy locales into existing coreutils utilities
The l10n repo contains utilities (e.g. hashsum) that don't exist in
the coreutils workspace. Copying entire directories created phantom
workspace members that broke Cargo.
2026-03-21 23:07:49 +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 59735c57a6 Wire up multi-language manpage build in CI workflow
- Checkout coreutils-l10n repo for translations
- Replace inline manpage generation with build-all-manpages.sh
- Fix tldr download URL to use GitHub releases
- Collect translated manpages into /coreutils/manpages-{lang}/
2026-03-21 22:23:22 +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 c3a54b0a9c Add language support to manpage templates
Add language navigation bar, html lang attribute, and template
placeholders ({{LANG_CODE}}, {{LANG_NAME}}, {{MANPAGES_PATH}})
to both the individual manpage and index templates.
2026-03-21 22:23:08 +01:00
Sylvestre Ledru 34d1aab2b7 fix the tldr download 2026-03-21 20:46:04 +01:00
Sylvestre Ledru 9929d430db improve the rendering of the man pages 2026-03-21 20:38:55 +01:00
Sylvestre Ledru dc7e2344b1 Fix manpage build: remove deprecated mdbook field and fix index generation
- Strip 'multilingual' from book.toml before mdbook build (removed in newer versions)
- Generate a self-contained manpages index.html instead of relying on Zola
  (the Zola approach failed due to wrong paths and content conflict with coreutils.md)
- Copy manpage HTML files in the collect step so they end up at /coreutils/manpages/
2026-03-21 19:23:38 +01:00
Sylvestre Ledru 1b87faaf25 Merge pull request #46 from sylvestre/manpages
Add manpage generation and publishing to website workflow
2026-03-21 18:54:16 +01:00
Sylvestre Ledru 08f02cf362 Add manpage generation and publishing to website workflow 2026-03-21 18:46:33 +01:00
Sylvestre Ledru fbaaa191a8 terts is less active lately 2026-02-03 09:09:12 +01:00
Sylvestre Ledru 6d5e81ed07 Add performance optimization project for coreutils 2026-02-02 18:03:15 +01:00
Sylvestre Ledru fc69be032c Add differential fuzzing expansion project for coreutils 2026-02-02 18:01:59 +01:00
Sylvestre Ledru 53c6f9dbac Add completion projects for procps, util-linux, and bsdutils 2026-02-02 17:30:17 +01:00
Sylvestre Ledru a2ba77cb7d Add projects to complete findutils, diffutils, and reimplement grep 2026-02-02 17:27:48 +01:00
Sylvestre Ledru c3758b22e4 Add performance optimization and fuzzing to sed project 2026-02-02 16:54:09 +01:00
Sylvestre Ledru 22f24e923c Add sed completion project idea for GSOC 2026-02-02 16:51:40 +01:00
Sylvestre Ledru 483cbd4195 Add awk reimplementation project idea for GSOC 2026-02-02 16:47:40 +01:00
Sylvestre Ledru ec9097c7df Remove completed coreutils tasks from GSOC project ideas 2026-02-02 16:46:04 +01:00