mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
bootstrap docs fixes
This commit is contained in:
@@ -10,7 +10,7 @@ indent_style=tab
|
||||
tab_width=3
|
||||
|
||||
[*.html]
|
||||
indent_style=space
|
||||
indent_style=tab
|
||||
indent_size=3
|
||||
|
||||
[*.md]
|
||||
|
||||
@@ -15,7 +15,8 @@ page-title: Documentation
|
||||
<div class="list-group list-group-transparent mb-0">
|
||||
{% for p in site.data.docs %}
|
||||
{% assign doc = site.docs | where: "slug", p.page | first %}
|
||||
<a href="{{ site.base }}{{ doc.url | relative_url }}" class="list-group-item list-group-item-action{% if page.url == doc.url %} active{% endif %}">
|
||||
<a href="{{ site.base }}{{ doc.url | relative_url }}"
|
||||
class="list-group-item list-group-item-action{% if page.url == doc.url %} active{% endif %}">
|
||||
{{ doc.title }}{% if doc.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}
|
||||
</a>
|
||||
{% endfor %}
|
||||
@@ -26,29 +27,31 @@ page-title: Documentation
|
||||
<div class="card-body p-md-6 p-xl-7">
|
||||
|
||||
<div class="markdown">
|
||||
<h2 class="h1 mt-0 mb-2 align-middle d-inline-flex" style="align-items: center;">{{ page.title }}{% if page.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}
|
||||
{% if page.bootstrap-link %}
|
||||
<a class="text-decoration-none text-blue {% if page.done %}ml-2{% else %}ml-3{% endif %}" href="{{page.bootstrap-link}}" target="_blank" style="font-size:medium">
|
||||
<i class="pr-1">{% include_cached ui/icon.html icon="external-link" color="blue" %}</i>
|
||||
<p class="mb-4 float-right">
|
||||
<a href="{{ page.bootstrap-link }}" target="_blank">
|
||||
{% include_cached ui/icon.html icon="external-link" color="blue" class="pr-1" %}
|
||||
Bootstrap documentation
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<h2 class="h1 mt-0 mb-3">{{ page.title }}
|
||||
{% if page.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}
|
||||
</h2>
|
||||
|
||||
|
||||
|
||||
{% if page.plugin %}
|
||||
<div class="alert alert-info">This module is available in <code>tabler-{{ page.plugin }}</code> plugin.</div>
|
||||
<div class="alert alert-info">This module is available in <code>tabler-{{ page.plugin }}</code>
|
||||
plugin.
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.description %}
|
||||
<p>{{ page.description }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if page.in_progress %}
|
||||
<div class="alert alert-primary mt-5 mb-6">
|
||||
<div><strong>Work in progress!</strong> More detailed documentation is coming soon.</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.toc %}
|
||||
{{ content | toc_only }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user