Hello, I'm currently documenting a C++ API using Concepts.
I have defined the following in my conf.py:
extlinks = {
'iterconcept':
('https://en.cppreference.com/w/cpp/experimental/ranges/iterator/%s',
'std::'),
}
This works fine for concepts with single template parameter:
>:iterconcept:`RandomAccessIterator`
However, when there is more than one parameter, it fails horribly:
>:iterconcept:`Sentinel<I> <Sentinel>`
The output is std::Sentinel, and the link is
https://en.cppreference.com/w/cpp/experimental/ranges/iterator/I%3E%20%3CSentinel
...
I tried to escape the first angle brackets with backslashes, with no
success.
My goal is to get the correct link with std::Sentinel<I> rendered.
Am I missing something obvious?
Thanks,
Theo
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/940c311f-31fc-4de9-8b23-064cec8a0ee4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.