amoeba commented on code in PR #3947:
URL: https://github.com/apache/arrow-adbc/pull/3947#discussion_r2785365879
##########
docs/source/conf.py:
##########
@@ -80,9 +82,9 @@ def setup(app):
# -- Global substitutions -----------------------------------------------------
# Note: uses quote because Sphinx will break if `release` has any spaces in it
rst_prolog = (
- f".. |source_download| replace::
`apache-arrow-adbc-{quote(release)}.tar.gz
<https://www.apache.org/dyn/closer.lua/arrow/apache-arrow-adbc-{quote(release)}/apache-arrow-adbc-{quote(release)}.tar.gz>`__\n"
# noqa: E501
- f".. |source_checksum| replace:: `checksum
<https://downloads.apache.org/arrow/apache-arrow-adbc-{quote(release)}/apache-arrow-adbc-{quote(release)}.tar.gz.sha512>`__\n"
# noqa: E501
- f".. |source_signature| replace:: `signature
<https://downloads.apache.org/arrow/apache-arrow-adbc-{quote(release)}/apache-arrow-adbc-{quote(release)}.tar.gz.asc>`__\n"
# noqa: E501
+ f".. |source_download| replace::
`apache-arrow-adbc-{quote(latest_release)}.tar.gz
<https://www.apache.org/dyn/closer.lua/arrow/apache-arrow-adbc-{quote(latest_release)}/apache-arrow-adbc-{quote(latest_release)}.tar.gz>`__\n"
# noqa: E501
Review Comment:
I guess I could remove the `quote` calls but I also guess they make this
safer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]