{% assign product = siteTree[currentLanguage][currentVersion].products[currentProduct] %} {% assign maxArticles = 10 %}

All {{ product.title }} docs

{% for category in product.categories %} {% unless category[1].standalone %}

{{ category[1].title }}

{% if category[1].maptopics %}
    {% for maptopic in category[1].maptopics %} {% unless maptopic[1].hidden %} {% assign numArticles = category[1].maptopics | obj_size %}
  • {{ maptopic[1].title }} • {{ maptopic[1].articles | obj_size }} articles
  • {% if numArticles > maxArticles %} {% endif %} {% endunless %} {% endfor %}
{% else %}
    {% assign numArticles = category[1].articles | obj_size %} {% for article in category[1].articles %}
  • {{ article[1].title }}
  • {% endfor %}
{% if numArticles > maxArticles %} {% endif %} {% endif %}
{% endunless %} {% endfor %}