all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joseph Turner <joseph@ushin.org>
To: emacs-orgmode@gnu.org
Subject: How to HTML export non-Emacs/Elisp info manual links?
Date: Sun, 08 Oct 2023 20:25:50 -0700	[thread overview]
Message-ID: <871qe44cec.fsf@breatheoutbreathe.in> (raw)

Hello!

I'd like for exported HTML output to include HTTP links to info manuals
besides the Emacs and Elisp manuals. Is this possible?

For example, the hyperdrive.el info manual links to the transient.el
info manuals using the info: protocol. In the exported HTML document
(<https://ushin.org/hyperdrive/hyperdrive-manual.html#hyperdrive_002dmenu>),
the link to the transient.el info manual is broken. It points to

https://ushin.org/hyperdrive/transient.html#Introduction

instead of the expected

https://www.gnu.org/software/emacs/manual/html_mono/transient.html#Introduction

For reference, here's the org-mode hyperdrive.el info manual:

https://git.sr.ht/~ushin/hyperdrive.el/tree/master/doc/hyperdrive-manual.org

Here's the script that exports from org to texi to HTML:

https://git.sr.ht/~ushin/ushin.org/tree/master/item/build-site.el#L26

In this case, the expected URL points to <https://www.gnu.org/>, but it
would be useful to have the option to specify a different host, like:

https://magit.vc/manual/transient.html#Introduction

Thank you!!

Joseph


             reply	other threads:[~2023-10-10 14:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-09  3:25 Joseph Turner [this message]
2023-10-10 16:28 ` How to HTML export non-Emacs/Elisp info manual links? Ihor Radchenko
2023-10-11  5:57   ` Joseph Turner

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

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

  git send-email \
    --in-reply-to=871qe44cec.fsf@breatheoutbreathe.in \
    --to=joseph@ushin.org \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.