Howto get the parent URI from a HTML-Translation

3 views
Skip to first unread message

Volker Jaenisch

unread,
Feb 18, 2024, 6:38:25 PMFeb 18
to sphinx-dev
Hi Sphinx-People!

While I am rendering my SVG image in the HTML-Translation I need to know where in
the HTML-Tree (Toc-Tree) I am actually located to create well anchored realtive links in the SVG file.

top
  | - dir
        | - file
              | - SVG image

How can I deduce while rendering of the SVG image where I am?

Cheers,
Volker
Reply all
Reply to author
Forward
0 new messages