Open yves-chevallier opened 11 months ago
I am writing a documentation in french and I notice Wikipedia links don't work. To test that I tried the following code, and only the second link works:
:::{list-table} - - [Ken Thompson](https://fr.wikipedia.org/wiki/Ken_Thompson) - - [Ken Thompson](https://en.wikipedia.org/wiki/Ken_Thompson) :::
This is because WIKI_PATH is hardcoded in English: https://github.com/sphinx-extensions2/sphinx-tippy/blob/cca8ea804fba5a7dde52a6d2d4d00eb191acd825/src/sphinx_tippy.py#L206
WIKI_PATH
It would be nice to either store the whole URL for simplicity or use a tuple for wiki_titles: (title, language).
wiki_titles
(title, language)
Duplicate of #7.
I am writing a documentation in french and I notice Wikipedia links don't work. To test that I tried the following code, and only the second link works:
This is because
WIKI_PATH
is hardcoded in English: https://github.com/sphinx-extensions2/sphinx-tippy/blob/cca8ea804fba5a7dde52a6d2d4d00eb191acd825/src/sphinx_tippy.py#L206It would be nice to either store the whole URL for simplicity or use a tuple for
wiki_titles
:(title, language)
.