-
Notifications
You must be signed in to change notification settings - Fork 2k
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
TypeError encountered in extlinks.py #11094
Comments
EDITThis was removed in #10471, though you should have seen warnings (permalink from the commit before removal of the functionality): Lines 87 to 101 in 7e68154
To fix the error, ensure that there is a single extlinks = {"pypi": ("https://pypi.org/project/%s", "")} to extlinks = {"pypi": ("https://pypi.org/project/%s", "%s")} or extlinks = {"pypi": ("https://pypi.org/project/%s", None)} Please also see the documentation for help: https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html A |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
Following the instructions I changed |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
Apparently there was a change in Sphinx around 6.1.3 that doesn't allow for the implicit %s substitution at the end of the string. See: sphinx-doc/sphinx#11094
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Closing this as it was an intended change, please comment if there are further issues that are not solved by the suggested changes above. A |
Downgrade sphinx for OL9 to 5.3.0 due to sphinx-doc/sphinx#11094
Downgrade sphinx for OL9 to 5.3.0 due to sphinx-doc/sphinx#11094
Describe the bug
In Sphinx 6.1.1 (works fine in 5.3.0 and 4.0.3), a TypeError is raised on line 103 of
sphinx/ext/extlinks.py
when building documentation. The error occurs here: https://github.com/aburrell/apexpy/actions/runs/3850865270/jobs/6561478581#step:5:59How to Reproduce
Using the docs from: https://github.com/aburrell/apexpy, run:
sphinx-build -E -b html docs dist/docs
from the home directory of that project. This was tested with Python 3.9 on Ubuntu (ubuntu-latest, GitHub Actions).Environment Information
Don't know how to access the error log, but here's the output:
The text was updated successfully, but these errors were encountered: