Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki links with different languages #10

Open
yves-chevallier opened this issue Oct 1, 2023 · 1 comment
Open

Wiki links with different languages #10

yves-chevallier opened this issue Oct 1, 2023 · 1 comment

Comments

@yves-chevallier
Copy link

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:

WIKI_PATH = "https://en.wikipedia.org/wiki/"

It would be nice to either store the whole URL for simplicity or use a tuple for wiki_titles: (title, language).

@dbitouze
Copy link

Duplicate of #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants