Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

dscho
Copy link
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 <[email protected]>
Copy link
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
Contributor

To1ne commented Mar 13, 2025

@dscho Nice work! Thank you for moving quickly.

@dscho
Copy link
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
Contributor

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
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.

3 participants