From 41ac82704647772209a79f895d28ddd7a21869ad Mon Sep 17 00:00:00 2001 From: Dawid Harat Date: Sun, 8 Dec 2019 19:47:49 +0100 Subject: [PATCH] bootstrap link added to docs --- pages/_docs/alerts.md | 4 ++-- pages/_docs/autosize.md | 3 +-- pages/_docs/avatars.md | 3 +-- pages/_docs/badges.md | 4 ++-- pages/_docs/breadcrumb.md | 1 + pages/_docs/buttons.md | 1 + pages/_docs/cards.md | 1 + pages/_docs/carousel.md | 4 ++-- pages/_docs/colors.md | 5 +++-- pages/_docs/divider.md | 2 +- pages/_docs/form-elements.md | 1 + pages/_docs/progress.md | 1 + pages/_docs/spinners.md | 1 + pages/_docs/tables.md | 1 + pages/_docs/tabs.md | 1 + pages/_docs/toasts.md | 1 + pages/_docs/tooltips.md | 1 + pages/_docs/typography.md | 1 + pages/_layouts/docs.html | 9 ++++++++- 19 files changed, 31 insertions(+), 14 deletions(-) diff --git a/pages/_docs/alerts.md b/pages/_docs/alerts.md index 34a29c7b..ffd5c22f 100644 --- a/pages/_docs/alerts.md +++ b/pages/_docs/alerts.md @@ -1,11 +1,11 @@ --- title: Alerts menu: docs.alerts +description: Bootstrap provides an easy way to create predefined alert messages. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/alerts/ done: true --- -Bootstrap provides an easy way to create predefined alert messages. - ### Default markup {% example %} diff --git a/pages/_docs/autosize.md b/pages/_docs/autosize.md index 33771fef..0113901c 100644 --- a/pages/_docs/autosize.md +++ b/pages/_docs/autosize.md @@ -1,11 +1,10 @@ --- title: Autosize menu: docs.autosize +description: A small, stand-alone script to automatically adjust textarea height. done: true --- -A small, stand-alone script to automatically adjust textarea height. - ### Default markup {% example html %} diff --git a/pages/_docs/avatars.md b/pages/_docs/avatars.md index d974fd63..03b37743 100644 --- a/pages/_docs/avatars.md +++ b/pages/_docs/avatars.md @@ -1,11 +1,10 @@ --- title: Avatars menu: docs.avatars +description: Create and group avatars of various shapes and sizes with one component. done: true --- -Create and group avatars of various shapes and sizes with one component. - ### Default markup {% example html wrapper=avatar-list %} diff --git a/pages/_docs/badges.md b/pages/_docs/badges.md index f37b5eeb..78b10625 100644 --- a/pages/_docs/badges.md +++ b/pages/_docs/badges.md @@ -1,11 +1,11 @@ --- title: Badges menu: docs.badges +description: A small count and labeling component. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/badge/ done: true --- -A small count and labeling component. Please read the [official Bootstrap documentation](https://getbootstrap.com/docs/4.3/components/badge/) for a full list of options. - ### Default markup {% example %} diff --git a/pages/_docs/breadcrumb.md b/pages/_docs/breadcrumb.md index cf72b9b6..3e940334 100644 --- a/pages/_docs/breadcrumb.md +++ b/pages/_docs/breadcrumb.md @@ -2,6 +2,7 @@ title: Breadcrumb menu: docs.breadcrumb description: Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/breadcrumb/ done: true --- diff --git a/pages/_docs/buttons.md b/pages/_docs/buttons.md index ec1b5902..5c61b68b 100644 --- a/pages/_docs/buttons.md +++ b/pages/_docs/buttons.md @@ -2,6 +2,7 @@ title: Buttons icon: fe fe-plus-square description: Use Bootstrap’s custom button styles for actions in forms, dialogs, and more. Includes support for a handful of contextual variations, sizes, states, and more. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/buttons/ --- diff --git a/pages/_docs/cards.md b/pages/_docs/cards.md index f7950149..8bfcc9c6 100644 --- a/pages/_docs/cards.md +++ b/pages/_docs/cards.md @@ -2,6 +2,7 @@ title: Cards menu: docs.cards description: A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/card/ --- The `.card` element is simply a container with a shadow, a border, a radius, and some padding. Built with flexbox, they offer easy alignment and mix well with other Bootstrap components. diff --git a/pages/_docs/carousel.md b/pages/_docs/carousel.md index 698f383f..92a31e2b 100644 --- a/pages/_docs/carousel.md +++ b/pages/_docs/carousel.md @@ -1,10 +1,10 @@ --- title: Carousel menu: docs.carousel +description: The Carousel is a slideshow for cycling through elements. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/carousel/ --- -The Carousel is a slideshow for cycling through elements. - {% example html columns=1 %} {% include ui/carousel.html show-indicators=true show-controls=true id="carousel-sample" %} {% endexample %} diff --git a/pages/_docs/colors.md b/pages/_docs/colors.md index 960f3cc9..d040ca28 100644 --- a/pages/_docs/colors.md +++ b/pages/_docs/colors.md @@ -1,5 +1,6 @@ --- title: Colors menu: docs.colors ---- - +description: +bootstrap-link: https://getbootstrap.com/docs/4.4/utilities/colors/ +--- \ No newline at end of file diff --git a/pages/_docs/divider.md b/pages/_docs/divider.md index d50a9a4b..07e4abe8 100644 --- a/pages/_docs/divider.md +++ b/pages/_docs/divider.md @@ -1,9 +1,9 @@ --- title: Divider description: A divider visually segments content into groups +bootstrap-link: https://getbootstrap.com/docs/4.4/components/dropdowns/#dividers done: true --- - ### Default markup {% example html max-width=300 %} diff --git a/pages/_docs/form-elements.md b/pages/_docs/form-elements.md index a9711534..28528d0b 100644 --- a/pages/_docs/form-elements.md +++ b/pages/_docs/form-elements.md @@ -1,5 +1,6 @@ --- title: Form Elements +bootstrap-link: https://getbootstrap.com/docs/4.4/components/forms/ --- ### Classic Input diff --git a/pages/_docs/progress.md b/pages/_docs/progress.md index 9f32dc4c..f4e813bb 100644 --- a/pages/_docs/progress.md +++ b/pages/_docs/progress.md @@ -1,6 +1,7 @@ --- title: Progress description: A progress bar can be used to show a user how far along he is in a process. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/progress/ --- ### Default markup diff --git a/pages/_docs/spinners.md b/pages/_docs/spinners.md index 31b1a823..1f1c3eeb 100644 --- a/pages/_docs/spinners.md +++ b/pages/_docs/spinners.md @@ -1,6 +1,7 @@ --- title: Spinners menu: docs.spinners +bootstrap-link: https://getbootstrap.com/docs/4.4/components/spinners/ done: true --- diff --git a/pages/_docs/tables.md b/pages/_docs/tables.md index 2416050d..7a5de303 100644 --- a/pages/_docs/tables.md +++ b/pages/_docs/tables.md @@ -1,6 +1,7 @@ --- title: Tables menu: docs.tables +bootstrap-link: https://getbootstrap.com/docs/4.4/content/tables/ --- ### Basic Table diff --git a/pages/_docs/tabs.md b/pages/_docs/tabs.md index 55f82246..aaf25c64 100644 --- a/pages/_docs/tabs.md +++ b/pages/_docs/tabs.md @@ -1,6 +1,7 @@ --- title: Tabs menu: docs.tabs +bootstrap-link: https://getbootstrap.com/docs/4.4/components/navs/ --- ### Default markup diff --git a/pages/_docs/toasts.md b/pages/_docs/toasts.md index 0c0f7172..6587b139 100644 --- a/pages/_docs/toasts.md +++ b/pages/_docs/toasts.md @@ -2,6 +2,7 @@ title: Toasts menu: docs.toasts description: The toast component is like an alert box that is only shown for a couple of seconds when something happens (i.e. when the user clicks on a button, submits a form, etc.). +bootstrap-link: https://getbootstrap.com/docs/4.4/components/toasts/ --- diff --git a/pages/_docs/tooltips.md b/pages/_docs/tooltips.md index e717ff3e..beee0b2e 100644 --- a/pages/_docs/tooltips.md +++ b/pages/_docs/tooltips.md @@ -2,6 +2,7 @@ title: Tooltips menu: docs.tooltips description: The Tooltip component is small pop-up box that appears when the user moves the mouse pointer over an element. +bootstrap-link: https://getbootstrap.com/docs/4.4/components/tooltips/ --- ### Default markup diff --git a/pages/_docs/typography.md b/pages/_docs/typography.md index 43d39cc9..0869da2b 100644 --- a/pages/_docs/typography.md +++ b/pages/_docs/typography.md @@ -2,6 +2,7 @@ title: Typography menu: docs.typography description: Documentation and examples for common text utilities to control alignment, wrapping, weight, and more. +bootstrap-link: https://getbootstrap.com/docs/4.4/content/typography/ --- ### Headings diff --git a/pages/_layouts/docs.html b/pages/_layouts/docs.html index 7743c6cf..6d65a21e 100644 --- a/pages/_layouts/docs.html +++ b/pages/_layouts/docs.html @@ -26,7 +26,14 @@ page-title: Documentation
-

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

+

{{ 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.
-- GitLab