Create index entry pointing to external URL?

36 views
Skip to first unread message

Carl Gay

unread,
Nov 11, 2024, 5:48:28 PM11/11/24
to sphinx-users
Hi. My project, opendylan.org, has a reference manual that was created using a different, non-Sphinx, process. It's plain HTML, essentially.  I would like for the items in the reference manual to appear in the Sphinx-generated index and in search results.

Is there a way to use the index:: directive to create an index entry that  links to an arbitrary URL rather than to "here"?  I didn't see support for it in the Sphinx docs.

The next best thing I can think of is to create a new document that consists entirely of entries like this, one for each item in the language reference:

.. index:: single: shallow-copy


I think that would get shallow-copy into the index and search results, but it's not ideal because of the extra click-through to get to the actual doc for shallow-copy.

Ideas?  Thanks.
-Carl
Reply all
Reply to author
Forward
0 new messages