unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Gavin Smith <gavinsmith0123@gmail.com>
Cc: Texinfo <bug-texinfo@gnu.org>, 22651@debbugs.gnu.org
Subject: bug#22651: "Up (dir)" HTML link is 404
Date: Thu, 05 May 2016 14:47:58 +0200	[thread overview]
Message-ID: <87h9ecekn5.fsf__30426.4758401134$1462452603$gmane$org@gnu.org> (raw)
In-Reply-To: <CAKPWYQ3muG3nLo8yQJVhe9ueLQPohSUn9it3vq6s8JvWLfgSKw@mail.gmail.com> (Gavin Smith's message of "Wed, 4 May 2016 19:07:20 +0100")

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

Hi,

Gavin Smith <gavinsmith0123@gmail.com> skribis:

> The way to deal with this broken link at the moment is to use the
> TOP_NODE_UP customization variable, like
>
>  makeinfo --html -c TOP_NODE_UP_URL=/manual/ ...
>
> https://www.gnu.org/software/texinfo/manual/texinfo/html_node/First-Node.html#First-Node

That sounds good, I didn’t know about this variable.

I propose to submit this patch to Gnulib’s gendocs.sh:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 936 bytes --]

--- a/build-aux/gendocs.sh
+++ b/build-aux/gendocs.sh
@@ -2,9 +2,9 @@
 # gendocs.sh -- generate a GNU manual in many formats.  This script is
 #   mentioned in maintain.texi.  See the help message below for usage details.
 
-scriptversion=2015-04-16.10
+scriptversion=2016-05-05.14
 
-# Copyright 2003-2015 Free Software Foundation, Inc.
+# Copyright 2003-2016 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -142,7 +142,7 @@ EMAIL=webmasters@gnu.org  # please override with --email
 commonarg= # passed to all makeinfo/texi2html invcations.
 dirargs=   # passed to all tools (-I dir).
 dirs=      # -I directories.
-htmlarg="--css-ref=/software/gnulib/manual.css"
+htmlarg="--css-ref=/software/gnulib/manual.css -c TOP_NODE_UP_URL=/manual/"
 infoarg=--no-split
 generate_ascii=true
 generate_html=true

[-- Attachment #3: Type: text/plain, Size: 30 bytes --]


WDYT?

Thanks,
Ludo’.

  parent reply	other threads:[~2016-05-05 12:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-13 17:06 bug#22651: Up: GNU Guix doc produces 404 page not found myglc2
2016-02-15 19:49 ` Alex Kost
2016-02-15 20:06   ` carl hansen
2016-02-15 23:10     ` Thompson, David
2016-02-16  0:59       ` carl hansen
2016-02-16  1:22         ` Leo Famulari
2016-05-03 20:54   ` bug#22651: "Up (dir)" HTML link is 404 Ludovic Courtès
     [not found]   ` <877ffaj20x.fsf_-_@gnu.org>
2016-05-04 18:07     ` Gavin Smith
     [not found]     ` <CAKPWYQ3muG3nLo8yQJVhe9ueLQPohSUn9it3vq6s8JvWLfgSKw@mail.gmail.com>
2016-05-05 12:47       ` Ludovic Courtès [this message]
     [not found]       ` <87h9ecekn5.fsf@gnu.org>
2016-05-05 14:44         ` Gavin Smith
2016-05-07 17:25 ` bug#22651: [PATCH] gendocs.sh: Fix "dir" link in HTML output Ludovic Courtès
2016-09-27 16:53 ` bug#22651: fixed, please close ng0
2016-09-30 16:12   ` Ludovic Courtès
2016-09-27 18:51 ` bug#22651: ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='87h9ecekn5.fsf__30426.4758401134$1462452603$gmane$org@gnu.org' \
    --to=ludo@gnu.org \
    --cc=22651@debbugs.gnu.org \
    --cc=bug-texinfo@gnu.org \
    --cc=gavinsmith0123@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).