emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to HTML export non-Emacs/Elisp info manual links?
@ 2023-10-09  3:25 Joseph Turner
  2023-10-10 16:28 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Turner @ 2023-10-09  3:25 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to HTML export non-Emacs/Elisp info manual links?
  2023-10-09  3:25 How to HTML export non-Emacs/Elisp info manual links? Joseph Turner
@ 2023-10-10 16:28 ` Ihor Radchenko
  2023-10-11  5:57   ` Joseph Turner
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2023-10-10 16:28 UTC (permalink / raw)
  To: Joseph Turner; +Cc: emacs-orgmode

Joseph Turner <joseph@ushin.org> writes:

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

Now, you can.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=902975ca4
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7e7ce8113
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f32f5982a

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to HTML export non-Emacs/Elisp info manual links?
  2023-10-10 16:28 ` Ihor Radchenko
@ 2023-10-11  5:57   ` Joseph Turner
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Turner @ 2023-10-11  5:57 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode


Ihor Radchenko <yantar92@posteo.net> writes:

> Joseph Turner <joseph@ushin.org> writes:
>
>> I'd like for exported HTML output to include HTTP links to info manuals
>> besides the Emacs and Elisp manuals. Is this possible?
>> ...
>
> Now, you can.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=902975ca4
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7e7ce8113
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f32f5982a

Wow! Thank you!!!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-11  5:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-09  3:25 How to HTML export non-Emacs/Elisp info manual links? Joseph Turner
2023-10-10 16:28 ` Ihor Radchenko
2023-10-11  5:57   ` Joseph Turner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).