Skip to content

script/update-docs.rb(l10n): add support for .adoc files#1976

Merged
dscho merged 1 commit intogit:gh-pagesfrom
dscho:l10n-adoc
Mar 12, 2025
Merged

script/update-docs.rb(l10n): add support for .adoc files#1976
dscho merged 1 commit intogit:gh-pagesfrom
dscho:l10n-adoc

Conversation

@dscho
Copy link
Copy Markdown
Member

@dscho dscho commented Mar 12, 2025

Changes

Context

Since 2.49.0 the documentation files are named with the .adoc extension. The git-manpages-l10n project followed suite and soon the git-html-l10n tip commit (which contains the output of git-manpages-l10n but is only updated in conjunction with Git releases) will no longer have any .txt files, either. Adapt the script to support that.

This recapitulates the changes made in #1973 also in the code that handles the translated manual pages.

/cc @jnavila @To1ne

Since 2.49.0 the documentation files are named with the .adoc extension.
The `git-manpages-l10n` project followed suite and soon the
`git-html-l10n` tip commit (which contains the output of
`git-manpages-l10n` but is only updated in conjunction with Git
releases) will no longer have any `.txt` files, either. Adapt the script
to support that.

This recapitulates the changes made in a74b38c (script/update-docs:
add support for .adoc files, 2025-03-12) in the code that handles the
translated manual pages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Copy link
Copy Markdown
Contributor

@jnavila jnavila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to work in my copy too.

@dscho dscho merged commit d1d6a35 into git:gh-pages Mar 12, 2025
1 check passed
@dscho dscho deleted the l10n-adoc branch March 12, 2025 23:00
@To1ne
Copy link
Copy Markdown
Collaborator

To1ne commented Mar 13, 2025

@dscho Nice work! Thank you for moving quickly.

@dscho
Copy link
Copy Markdown
Member Author

dscho commented Mar 13, 2025

@To1ne oh, I can echo the gratitude: if it hadn't been for your excellent work, which I basically near-emulated hunk by hunk, I wouldn't have even considered embarking on this PR.

@To1ne
Copy link
Copy Markdown
Collaborator

To1ne commented Mar 13, 2025

oh, I can echo the gratitude: if it hadn't been for your excellent work, which I basically near-emulated hunk by hunk, I wouldn't have even considered embarking on this PR.

/me high fives @dscho

@jnavila
Copy link
Copy Markdown
Contributor

jnavila commented Mar 13, 2025

Thank you both for taking care of this sh*t...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants