AlenkaF commented on code in PR #14839:
URL: https://github.com/apache/arrow/pull/14839#discussion_r1053249653


##########
docs/source/_templates/layout.html:
##########
@@ -26,3 +26,9 @@
 {# Silence the navbar #}
 {% block docs_navbar %}
 {% endblock %}
+
+{# Add version warnings #}
+{% block footer %}
+  {{ super() }}
+  <script type="text/javascript" src="/docs/versionwarning.js"></script>

Review Comment:
   I propose to keep the current path to the JS file (docs/_static) and also 
the current way of injecting the src link in the html files. This way there 
will be no further changes needed in the arrow-site repo.
   
   If we decide to move the file to the dev/ folder or use a variable in html 
(in my short attempt I wasn't able to make Sphinx work with variables) I think 
it is better to create a follow-up issue.



-- 
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]

Reply via email to