The culprit seems to be this command in doc/usermanual/CMakeLists.txt:

COMMAND find ${CMAKE_CURRENT_BINARY_DIR}/wp -name *.html -exec sed -i 
"s/\\.html/\\.html\\.php/g" {} \;

(and the corresponding command for mult-line replacements if Saxon is used).

It does not destinguish between internal references of the form:

href="xyz.html"

and external references like:

href="http://docs.gimp.org/2.8/en/gimp-concepts-layer-modes.html";

So, any sed expert around to fix this? :)

Ulrich


Am 20.12.2014 um 17:56 schrieb Markus Jung:
> Hello folks,
>
> the online version of the user manual has broken links, because a ".php"
> suffix is appended to them. Apparently, this only happens to URIs ending
> with ".html". For example, the blend mode link pointing to the GIMP user
> manual
>> http://www.darktable.org/usermanual/ch03s02s06.html.php
> Should point to this address (and in fact, the source contains the
> correct URI)
>> http://docs.gimp.org/2.8/en/gimp-concepts-layer-modes.html
>
> A quick search revealed a second victim of this issue, section 8.1, the
> link to the Lua user manual.
>
> Regards,
> Markus
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to