{% if project == 'SQL 99' %}
-
SQL-99 Complete, Really
{{ toctree(maxdepth=2|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
{% if project == 'CrateDB Cloud' %}
-
CrateDB Cloud
{{ toctree(maxdepth=2|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- CrateDB Cloud
{% endif %}
- Installation
{% if project == 'CrateDB: Guide' %}
-
Guides and Tutorials
{{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- Guides and Tutorials
{% endif %}
{% if project == 'CrateDB: Reference' %}
-
Reference Manual
{{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- Reference Manual
{% endif %}
{% if project == 'CrateDB: Admin UI' %}
-
Admin UI
{{ toctree(maxdepth=1|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- Admin UI
{% endif %}
{% if project == 'CrateDB: Crash CLI' %}
-
Crash CLI
{{ toctree(maxdepth=1|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- Crash CLI
{% endif %}
{%
set driver_projects = [
'CrateDB: Clients and Tools',
'CrateDB JDBC', 'CrateDB DBAL', 'CrateDB PDO', 'CrateDB Python', 'CrateDB Npgsql'
]
%}
{% if project in driver_projects %}
-
{% if project == 'CrateDB: Clients and Tools' %}
Drivers and Integrations
{{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
Drivers and Integrations
{% endif %}
{% if project == 'CrateDB JDBC' %}
-
JDBC
{{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- JDBC
{% endif %}
{% if project == 'CrateDB DBAL' %}
-
PHP DBAL
{{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- PHP DBAL
{% endif %}
{% if project == 'CrateDB PDO' %}
-
PHP PDO
{{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- PHP PDO
{% endif %}
{% if project == 'CrateDB Python' %}
-
Python
{{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- Python
{% endif %}
{% if project == 'CrateDB Npgsql' %}
-
.NET Npgsql
{{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% else %}
- .NET Npgsql
{% endif %}
{% else %}
-
Drivers and Integrations
{% endif %}
- Support
- Community
- Integration Tutorials
- Sample Applications
{% if project == 'CrateDB documentation theme' %}
-
Documentation theme
{{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{% endif %}
{% if project == 'Doing Docs' %}
-
Doing Docs at Crate.io
{{ toctree(maxdepth=2|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
{% endif %}
{% endif %}