Hi, Shlomi Fish <shlo...@shlomifish.org> wrote: > On Fri, 10 Apr 2020 12:13:30 +0200 > Holger Wansing <hwans...@mailbox.org> wrote: > > > Hi, > > > > Shlomi Fish <shlo...@shlomifish.org> wrote: > > > Hi! > > > > > > On Fri, 10 Apr 2020 04:03:06 +0200 > > > C_G_Zeller <c_g_zel...@t-online.de> wrote: > > > > > > > debian-handbook > > > > > > > > Side not found > > > > > > > > 6.6 > > > > > > > > 6.6.1 > > > > > > > > 6.6.2 > > > > > > > > Have a nice Day > > > > > > > > > > I don't understand. Please clarify. Also see > > > https://github.com/shlomif/writing-the-perfect-question . > > > > That's > > Bug#818927: Fw: broken links, German Debian handbook 'Das Debian > > Administrationshandbuch' > > > > I see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818927 - thanks for > clarifying.
I found the problem in https://salsa.debian.org/webmaster-team/cron/-/blob/master/parts/7doc line 206: The if clause if [ "$(basename $page $lang.html)" = "$(basename $page)" ]; then pagecopy2 $lang "$pagefile" "$destdir/$(basename $page .html).$lang.html" ... checks if the files to be processed are html files with language extensions, otherwise it skips the file in question. In case of the file "sect.dist-upgrade.html" the 'if' does not give an EQUAL, because the "de.html" at the end is truncated ("de" is seen as language extension, not as part of the base-filename). That's why that file is not copied and is therefore missing on the webpage. So adding a dot like - if [ "$(basename $page $lang.html)" = "$(basename $page)" ]; then + if [ "$(basename $page .$lang.html)" = "$(basename $page)" ]; then ensures, that only language extensions are truncated, and everything works as expected. Holger -- Holger Wansing <hwans...@mailbox.org> PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076