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

docs: Make extlinks compatible with sphinx 6.0 #590

Merged
merged 1 commit into from Feb 11, 2023

Conversation

mweinelt
Copy link
Contributor

@mweinelt mweinelt commented Jan 3, 2023

The caption must contain %s exactly once¹ and because it did not building the docs using sphinx 6.0 failed.

mutagen> reading sources... [ 62%] changelog0mmm00m
mutagen> Exception occurred:
mutagen>   File "/nix/store/45b9bmcr6w6k05syyflc4r8j4gzzbjkm-python3.10-sphinx-6.0.0/lib/python3.10/site-packages/sphinx/ext/extlinks.py", line 101, in role
mutagen>     title = caption % part
mutagen> TypeError: not all arguments converted during string formatting
mutagen> The full traceback has been saved in /build/sphinx-err-kzqq6ki_.log, if you want to report the issue to the developers.

[1] https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#confval-extlinks

The caption must contain `%s` exactly once¹ and because it did not
building the docs using sphinx 6.0 failed.

```
mutagen> reading sources... [ 62%] changelog0mmm00m
mutagen> Exception occurred:
mutagen>   File "/nix/store/45b9bmcr6w6k05syyflc4r8j4gzzbjkm-python3.10-sphinx-6.0.0/lib/python3.10/site-packages/sphinx/ext/extlinks.py", line 101, in role
mutagen>     title = caption % part
mutagen> TypeError: not all arguments converted during string formatting
mutagen> The full traceback has been saved in /build/sphinx-err-kzqq6ki_.log, if you want to report the issue to the developers.
```

[1] https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#confval-extlinks
@lazka lazka merged commit 942c63f into quodlibet:master Feb 11, 2023
@mweinelt mweinelt deleted the sphinx-6.0-compat branch February 11, 2023 16:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants