987f386588
## What changes were proposed in this pull request? 1. Split the main page of sql-programming-guide into 7 parts: - Getting Started - Data Sources - Performance Turing - Distributed SQL Engine - PySpark Usage Guide for Pandas with Apache Arrow - Migration Guide - Reference 2. Add left menu for sql-programming-guide, keep first level index for each part in the menu. ![image](https://user-images.githubusercontent.com/4833765/47016859-6332e180-d183-11e8-92e8-ce62518a83c4.png) ## How was this patch tested? Local test with jekyll build/serve. Closes #22746 from xuanyuanking/SPARK-24499. Authored-by: Yuanjian Li <xyliyuanjian@gmail.com> Signed-off-by: gatorsmile <gatorsmile@gmail.com>
19 lines
509 B
HTML
19 lines
509 B
HTML
{% assign navurl = page.url | remove: 'index.html' %}
|
|
<ul>
|
|
{% for item in include.nav %}
|
|
<li>
|
|
<a href="{{ item.url }}">
|
|
{% if navurl contains item.url %}
|
|
<b>{{ item.text }}</b>
|
|
{% else %}
|
|
{{ item.text }}
|
|
{% endif %}
|
|
</a>
|
|
</li>
|
|
{% assign tag = item.url | remove: ".html" %}
|
|
{% if item.subitems and navurl contains tag %}
|
|
{% include nav-left.html nav=item.subitems %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|