Howto get the parent URI from a HTML-Translation

6 views
Skip to first unread message

Volker Jaenisch

unread,
Feb 18, 2024, 6:38:25 PM2/18/24
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