SQLite User Forum

docsrc bug: absolute URLs sometimes get converted to relative links
Login

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:

(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">&#91;efc02f9779&#93;</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">&#91;d02e1406a58ea02d]&#93;</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.