docsrc bug: absolute URLs sometimes get converted to relative links
(1) By Mike Swanson (chungy) on 2025-03-25 22:49:20 [source]
These seem to all be coalesced in the changes.in source file. Sometimes links in the form of <a href="https://www.sqlite.org...
get translated in the output as <a href="../https://www.sqlite.org...
. This naturally causes the resulting links to be 404s.
From greping the doc output directory of docsrc, the following pages seem to exhibit the problem:
- releaselog/3_5_3.html: first link, "separate CM system"
- releaselog/3_6_4.html: seventh item, links to
tool/genfkey.c
- releaselog/3_6_16_1.html: first link, "the OP_If bug"
- releaselog/3_6_18.html: eighth item, link to a commit
- releaselog/3_7_0_1.html: first item, link to a ticket
- releaselog/3_7_2.html: first item, link to a commit
- releaselog/3_7_14_1.html: first item, link to a ticket
(2) By Stephan Beal (stephan) on 2025-03-26 11:59:34 in reply to 1 [link] [source]
These seem to all be coalesced in the changes.in source file. Sometimes links in the form of
<a href="https://www.sqlite.org...
get translated in the output as<a href="../https://www.sqlite.org....
This naturally causes the resulting links to be 404s.
Thank you for the report. That's now resolved in the docsrc trunk but the changes won't go online until the next time the site is built.
Before:
[stephan@nuc:~/f/s/doc/doc/releaselog]$ grep '\.\./ht' * 3_5_3.html:a <a href="../https://www.sqlite.org/docsrc/">separate CM system</a>. 3_6_16_1.html:<a href="../https://www.sqlite.org/src/info/6b00e0a34c">the OP_If bug</a>. 3_6_18.html:(<a href="../https://www.sqlite.org/src/info/efc02f9779">[efc02f9779]</a>). 3_6_4.html: <a href="../https://www.sqlite.org/src/finfo?name=tool/genfkey.c"> 3_6_4.html: <a href="../https://www.sqlite.org/src/finfo?name=tool/genfkey.README"> 3_7_0_1.html: <a href="../https://www.sqlite.org/src/info/51ae9cad317a1"> 3_7_14_1.html:<a href="../https://www.sqlite.org/src/tktview/d02e1406a58ea02d">[d02e1406a58ea02d]]</a>) 3_7_2.html:<li> Fix an <a href="../https://www.sqlite.org/src/info/5e10420e8d">
After:
[stephan@nuc:~/f/s/doc/doc/releaselog]$ grep '\.\./ht' *^C <no output>
(3) By Richard Hipp (drh) on 2025-03-26 12:24:44 in reply to 2 [link] [source]
Note quite yet, I don't think. I fixed one of them. The others are pending. Give me a few more minutes.