raulcd commented on code in PR #34178:
URL: https://github.com/apache/arrow/pull/34178#discussion_r1105673831
##########
docs/source/_static/versionwarning.js:
##########
@@ -30,6 +30,7 @@
// Path of the page
var location_array = location.pathname.split('/');
var versionPath = location_array[2];
+ var versionNumber = Number(versionPath.match(/^\d+/))
Review Comment:
This is `majorVersionNumber` from the `major.minor.patch` format, right? A
really minor nit I would probably rename it so it does not cause confusion.
--
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]