nchammas commented on code in PR #56424:
URL: https://github.com/apache/spark/pull/56424#discussion_r3443275321


##########
docs/_layouts/global.html:
##########
@@ -3,6 +3,10 @@
 {% for i in (1..current_page_segments.size) %}
   {% assign rel_path_to_root = rel_path_to_root | append: "../" %}
 {% endfor %}
+{% assign has_left_nav = false %}
+{% if page.url contains "/ml" or page.url contains "/sql" or page.url contains 
"/streaming/" or page.url contains "migration-guide.html" %}

Review Comment:
   We have this weird setup where some pages have left navigation bars but 
others have a table of contents [at the top][1]. I suppose there's no easy 
automatic way to determine which pages have left navigation?
   
   [1]: 
https://spark.apache.org/docs/latest/declarative-pipelines-programming-guide.html



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to