diff --git a/.editorconfig b/.editorconfig index d41b743d8..5aafc330e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,7 +10,7 @@ indent_style=tab tab_width=3 [*.html] -indent_style=space +indent_style=tab indent_size=3 [*.md] diff --git a/pages/_layouts/docs.html b/pages/_layouts/docs.html index 6d65a21e2..2683c4920 100644 --- a/pages/_layouts/docs.html +++ b/pages/_layouts/docs.html @@ -7,48 +7,51 @@ page-title: Documentation
-
- - {% include_cached ui/icon.html icon="github" class="mr-2" %}Browse source code - + +
+ {% for p in site.data.docs %} + {% assign doc = site.docs | where: "slug", p.page | first %} + + {{ doc.title }}{% if doc.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %} + + {% endfor %} +
+
-

{{ page.title }}{% if page.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %} - {% if page.bootstrap-link %} - - {% include_cached ui/icon.html icon="external-link" color="blue" %} - Bootstrap documentation - - {% endif %} -

- - {% if page.plugin %} -
This module is available in tabler-{{ page.plugin }} plugin.
- {% endif %} - - {% if page.description %} -

{{ page.description }}

+ {% if page.bootstrap-link %} +

+ + {% include_cached ui/icon.html icon="external-link" color="blue" class="pr-1" %} + Bootstrap documentation + +

{% endif %} - {% if page.in_progress %} -
-
Work in progress! More detailed documentation is coming soon.
+

{{ page.title }} + {% if page.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %} +

+ + + + {% if page.plugin %} +
This module is available in tabler-{{ page.plugin }} + plugin.
{% endif %} + {% if page.description %} +

{{ page.description }}

+ {% endif %} + {% if page.toc %} {{ content | toc_only }} {% endif %}