[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67615: [PATCH v7] Add option Info-url-alist
From: |
Mekeor Melire |
Subject: |
bug#67615: [PATCH v7] Add option Info-url-alist |
Date: |
Sun, 21 Jan 2024 01:43:04 +0000 |
2024-01-20 09:23 eliz@gnu.org:
> What about the case where the HTML docs are produced with one file per
> node? doesn't Texinfo create in that case directories that are named
> like the manual, but without the .html extension?
I tested this and found out that Texinfo does not create directories for
each node in that case.
The reason why after omitting the .html-suffix gnu.org still serves the
html-manual is its web-server configuration. This was confirmed to me
via IRC in the #gnu channel on libera.chat server.
Attached is a new version of that patch with following changes:
- Let Info-url-for-node skip whitespace and newlines between closing
parenthesis and node-name. This mimics Texinfo as can be traced here:
https://git.savannah.gnu.org/cgit/texinfo.git/tree/info/info.h?h=114e10b2a1cb5ee07ae6b9d1228d6d016c9f86e6#n44
https://git.savannah.gnu.org/cgit/texinfo.git/tree/info/scan.c?h=114e10b2a1cb5ee07ae6b9d1228d6d016c9f86e6#n123
It also makes Info-url-for-node work with the string that is put into
kill-ring with the Info-copy-current-node-name command which uses a
whitespace.
- Do not use a .html suffix, neither in the default value for the new
Info-url-alist, nor in the %e format-thing that can be in user-defined
values of it. Users still can add a ".html" suffix themselves, if the
respective web-server does not support omitting it.
- More tests, including manuals in all relevant directories and formats
and "special" characters.
0001-Add-option-Info-url-alist.patch
Description: Text Data