Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions site/docs/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,8 @@ pre {
#index-page-logo {
background: rgba(0, 0, 0, 0);
border: 0;
}

.spark-orange {
color: #E25A1D;
}
Binary file added site/docs/img/flink-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/docs/img/hive-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/docs/img/prestodb-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/docs/img/trino-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 34 additions & 2 deletions site/docs/theme_customization/nav-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,51 @@
>
{%- if nav_item.url or nav_item.is_page or nav_item.is_link or nav_item.url
-%}
{%- if nav_item.title == "Hive" -%}
<a href="{{ nav_item.url }}" class="block wm-toc-text">
<span>
<img src="img/hive-logo.png" class="navigation-icon fa-fw"/> {{ nav_item.title }}
</span>
</a>
{%- elif nav_item.title == "Trino" -%}
<a href="{{ nav_item.url }}" class="block wm-toc-text">
<span>
<img src="img/trino-logo.png" class="navigation-icon fa-fw"/> {{ nav_item.title }}
</span>
</a>
{%- elif nav_item.title == "PrestoDB" -%}
<a href="{{ nav_item.url }}" class="block wm-toc-text">
<span>
<img src="img/prestodb-logo.png" class="navigation-icon fa-fw"/> {{ nav_item.title }}
</span>
</a>
{%- else -%}
<a href="{{ nav_item.url }}" class="wm-article-link wm-toc-text"
>{{ nav_item.title }}</a
>
{%- endif %}
{%- else -%}

<!-- Set a font awesome icon based on the menu item title -->
{%- if nav_item.title == "Tables" -%}
<span class="wm-toc-text"
><i class="fa fa-table fa-fw"></i> {{ nav_item.title }}</span
>
{%- elif nav_item.title == "Engines" -%}
{%- elif nav_item.title == "Spark" -%}
<span class="wm-toc-text"
><i class="fa fa-star-o fa-fw spark-orange"></i> {{ nav_item.title }}</span
>
{%- elif nav_item.title == "Flink" -%}
<span class="wm-toc-text"
><img src="img/flink-logo.png" class="navigation-icon fa-fw"/> {{ nav_item.title }}</span
>
{%- elif nav_item.title == "API" -%}
<span class="wm-toc-text"
><i class="fa fa-connectdevelop fa-fw"></i> {{ nav_item.title }}</span
>
{%- elif nav_item.title == "Project" -%}
<span class="wm-toc-text"
><i class="fa fa-cogs fa-fw"></i> {{ nav_item.title }}</span
><i class="fa fa-wrench fa-fw"></i> {{ nav_item.title }}</span
>
{%- elif nav_item.title == "Integrations" -%}
<span class="wm-toc-text"
Expand Down
30 changes: 15 additions & 15 deletions site/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,20 @@ nav:
- Maintenance: maintenance.md
- Performance: performance.md
- Reliability: reliability.md
- Engines:
- Spark:
- Getting Started: getting-started.md
- Configuration: spark-configuration.md
- DDL: spark-ddl.md
- Queries: spark-queries.md
- Writes: spark-writes.md
- Maintenance Procedures: spark-procedures.md
- Structured Streaming: spark-structured-streaming.md
- Flink:
- Getting Started: flink.md
- Flink Connector: flink-connector.md
- Hive: hive.md
- Trino: https://trino.io/docs/current/connector/iceberg.html
- PrestoDB: https://prestodb.io/docs/current/connector/iceberg.html
- Spark:
- Getting Started: getting-started.md
- Configuration: spark-configuration.md
- DDL: spark-ddl.md
- Queries: spark-queries.md
- Writes: spark-writes.md
- Maintenance Procedures: spark-procedures.md
- Structured Streaming: spark-structured-streaming.md
- Flink:
- Getting Started: flink.md
- Flink Connector: flink-connector.md
- Hive: hive.md
- Trino: https://trino.io/docs/current/connector/iceberg.html
- PrestoDB: https://prestodb.io/docs/current/connector/iceberg.html
- Integrations:
- AWS: aws.md
- Nessie: nessie.md
Expand All @@ -106,6 +105,7 @@ nav:
- Definitions: terms.md
- Spec: spec.md
- Project:
- How To Release: how-to-release.md
- Trademarks: trademarks.md
- Security: security.md
- ASF:
Expand Down