fix broken links: change from .txt to .adoc#2008
Conversation
dscho
left a comment
There was a problem hiding this comment.
Looks correct!
I will need to re-run the GitHub workflow to re-generate the manual pages with this change. However, the result would conflict with #2007 at the moment, therefore I will hold off until that PR is merged, then go ahead and integrate this here PR so that the results will not conflict.
For the record, I did that a couple of days ago, but despite my local confirmation that the patch works, the workflow did not result in any changes :-( |
This gift keeps on giving. I'll try to have a look tomorrow. |
Some links like “/docs/howto/update-hook-example” redirected to URLs ending in .txt, which no longer exist. They now redirect to the same URLs ending in .adoc.
The script determines that it does not need to do anything if the `docs/howto/*.html` in question exists already. But we have to fix the `.txt` extension, which is now the `.adoc` extension. So, after `git rm external/docs/content/docs/howto/*.html`, I simply re-built them via: REBUILD_DOC=v2.50.0 RERUN=1 \ bundle exec ruby script/update-docs.rb git-worktree en Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
I figured it out. The problem is this line: git-scm.com/script/update-docs.rb Line 598 in e3e589e That's the line responsible for not re-generating the |
Changes
Context
Some links like “/docs/howto/update-hook-example” redirected to URLs ending in .txt, which no longer exist. They now redirect to the same URLs ending in .adoc.
Issue associated: #2006