Support Sphinx >=6.x

https://github.com/sphinx-doc/sphinx/issues/11094

`extlinks` config expects a formatting slug in the caption portion of
its config. Without it, Sphinx 6.x throws:

    Exception occurred:
      File "/path/to/site-packages/sphinx/ext/extlinks.py", line 103, in role
        title = caption % part
    TypeError: not all arguments converted during string formatting
pull/1271/head
Matt Fisher 2023-05-18 11:31:41 -06:00
rodzic d3c74414cf
commit c2a3750556
Nie znaleziono w bazie danych klucza dla tego podpisu
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -29,9 +29,9 @@ default_role = "literal"
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
templates_path = ["_templates"]
extlinks = {
"issue": ("https://github.com/jupyterhub/repo2docker/issues/%s", "Issue #"),
"pr": ("https://github.com/jupyterhub/repo2docker/pull/%s", "PR #"),
"user": ("https://github.com/%s", "@"),
"issue": ("https://github.com/jupyterhub/repo2docker/issues/%s", "Issue #%s"),
"pr": ("https://github.com/jupyterhub/repo2docker/pull/%s", "PR #%s"),
"user": ("https://github.com/%s", "@%s"),
}