docs: update links to documentation

This commit is contained in:
Łukasz Holeczek
2022-11-25 14:52:32 +01:00
parent c7e0ce80ab
commit 6e3a915d97
4 changed files with 34 additions and 34 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
<p class="text-medium-emphasis small"> <p class="text-medium-emphasis small">
Click the accordions below to expand/collapse the accordion content. Click the accordions below to expand/collapse the accordion content.
</p> </p>
<DocsExample href="components/accordion"> <DocsExample href="components/accordion.html">
<CAccordion> <CAccordion>
<CAccordionItem :item-key="1"> <CAccordionItem :item-key="1">
<CAccordionHeader> Accordion Item #1 </CAccordionHeader> <CAccordionHeader> Accordion Item #1 </CAccordionHeader>
@@ -68,7 +68,7 @@
corners to render accordions edge-to-edge with their parent corners to render accordions edge-to-edge with their parent
container. container.
</p> </p>
<DocsExample href="components/accordion#flush"> <DocsExample href="components/accordion.html#flush">
<CAccordion flush> <CAccordion flush>
<CAccordionItem> <CAccordionItem>
<CAccordionHeader> Accordion Item #1 </CAccordionHeader> <CAccordionHeader> Accordion Item #1 </CAccordionHeader>
@@ -125,7 +125,7 @@
Add <code>always-open</code> property to make accordion items stay Add <code>always-open</code> property to make accordion items stay
open when another item is opened. open when another item is opened.
</p> </p>
<DocsExample href="components/accordion#always-open"> <DocsExample href="components/accordion.html#always-open">
<CAccordion :active-item-key="2" always-open> <CAccordion :active-item-key="2" always-open>
<CAccordionItem :item-key="1"> <CAccordionItem :item-key="1">
<CAccordionHeader> Accordion Item #1 </CAccordionHeader> <CAccordionHeader> Accordion Item #1 </CAccordionHeader>
+1 -1
View File
@@ -20,7 +20,7 @@
</a> </a>
. .
</p> </p>
<DocsExample href="components/breadcrumb"> <DocsExample href="components/breadcrumb.html">
<CBreadcrumb> <CBreadcrumb>
<CBreadcrumbItem> <CBreadcrumbItem>
<CLink href="#">Home</CLink> <CLink href="#">Home</CLink>
+24 -24
View File
@@ -23,7 +23,7 @@
width. Cards have no fixed width to start, so they&#39;ll naturally width. Cards have no fixed width to start, so they&#39;ll naturally
fill the full width of its parent element. fill the full width of its parent element.
</p> </p>
<DocsExample href="components/card"> <DocsExample href="components/card.html">
<CCard style="width: 18rem"> <CCard style="width: 18rem">
<CCardImage orientation="top" :src="VueImg" /> <CCardImage orientation="top" :src="VueImg" />
<CCardBody> <CCardBody>
@@ -47,7 +47,7 @@
The main block of a card is the <code>&lt;CCardBody&gt;</code>. Use The main block of a card is the <code>&lt;CCardBody&gt;</code>. Use
it whenever you need a padded section within a card. it whenever you need a padded section within a card.
</p> </p>
<DocsExample href="components/card/#body"> <DocsExample href="components/card.html/#body">
<CCard> <CCard>
<CCardBody>This is some text within a card body.</CCardBody> <CCardBody>This is some text within a card body.</CCardBody>
</CCard> </CCard>
@@ -76,7 +76,7 @@
<code>&lt;CCardBody&gt;</code> item, the card title, and subtitle <code>&lt;CCardBody&gt;</code> item, the card title, and subtitle
are arranged rightly. are arranged rightly.
</p> </p>
<DocsExample href="components/card/#titles-text-and-links"> <DocsExample href="components/card.html/#titles-text-and-links">
<CCard style="width: 18rem"> <CCard style="width: 18rem">
<CCardBody> <CCardBody>
<CCardTitle>Card title</CCardTitle> <CCardTitle>Card title</CCardTitle>
@@ -105,7 +105,7 @@
within <code>.card-text</code> can additionally be styled with the within <code>.card-text</code> can additionally be styled with the
regular HTML tags. regular HTML tags.
</p> </p>
<DocsExample href="components/card/#images"> <DocsExample href="components/card.html/#images">
<CCard style="width: 18rem"> <CCard style="width: 18rem">
<CCardImage orientation="top" :src="VueImg" /> <CCardImage orientation="top" :src="VueImg" />
<CCardBody> <CCardBody>
@@ -128,7 +128,7 @@
<p class="text-medium-emphasis small"> <p class="text-medium-emphasis small">
Create lists of content in a card with a flush list group. Create lists of content in a card with a flush list group.
</p> </p>
<DocsExample href="components/card/#list-groups"> <DocsExample href="components/card.html/#list-groups">
<CRow> <CRow>
<CCol :lg="4"> <CCol :lg="4">
<CCard> <CCard>
@@ -175,7 +175,7 @@
throw everything in there. Shown below are image styles, blocks, throw everything in there. Shown below are image styles, blocks,
text styles, and a list groupall wrapped in a fixed-width card. text styles, and a list groupall wrapped in a fixed-width card.
</p> </p>
<DocsExample href="components/card/#kitchen-sink"> <DocsExample href="components/card.html/#kitchen-sink">
<CCard style="width: 18rem"> <CCard style="width: 18rem">
<CCardImage orientation="top" :src="VueImg" /> <CCardImage orientation="top" :src="VueImg" />
<CCardBody> <CCardBody>
@@ -208,7 +208,7 @@
<p class="text-medium-emphasis small"> <p class="text-medium-emphasis small">
Add an optional header and/or footer within a card. Add an optional header and/or footer within a card.
</p> </p>
<DocsExample href="components/card/#header-and-footer"> <DocsExample href="components/card.html/#header-and-footer">
<CCard> <CCard>
<CCardHeader>Header</CCardHeader> <CCardHeader>Header</CCardHeader>
<CCardBody> <CCardBody>
@@ -225,7 +225,7 @@
Card headers can be styled by adding ex. Card headers can be styled by adding ex.
<code>component=&#34;h5&#34;</code>. <code>component=&#34;h5&#34;</code>.
</p> </p>
<DocsExample href="components/card/#header-and-footer"> <DocsExample href="components/card.html/#header-and-footer">
<CCard> <CCard>
<CCardHeader component="h5">Header</CCardHeader> <CCardHeader component="h5">Header</CCardHeader>
<CCardBody> <CCardBody>
@@ -238,7 +238,7 @@
</CCardBody> </CCardBody>
</CCard> </CCard>
</DocsExample> </DocsExample>
<DocsExample href="components/card/#header-and-footer"> <DocsExample href="components/card.html/#header-and-footer">
<CCard> <CCard>
<CCardHeader>Quote</CCardHeader> <CCardHeader>Quote</CCardHeader>
<CCardBody> <CCardBody>
@@ -255,7 +255,7 @@
</CCardBody> </CCardBody>
</CCard> </CCard>
</DocsExample> </DocsExample>
<DocsExample href="components/card/#header-and-footer"> <DocsExample href="components/card.html/#header-and-footer">
<CCard class="text-center"> <CCard class="text-center">
<CCardHeader>Header</CCardHeader> <CCardHeader>Header</CCardHeader>
<CCardBody> <CCardBody>
@@ -286,7 +286,7 @@
<p class="text-medium-emphasis small"> <p class="text-medium-emphasis small">
Using the grid, wrap cards in columns and rows as needed. Using the grid, wrap cards in columns and rows as needed.
</p> </p>
<DocsExample href="components/card/#sizing"> <DocsExample href="components/card.html/#sizing">
<CRow> <CRow>
<CCol :sm="6"> <CCol :sm="6">
<CCard> <CCard>
@@ -322,7 +322,7 @@
> >
to rapidly set a card&#39;s width. to rapidly set a card&#39;s width.
</p> </p>
<DocsExample href="components/card/#sizing"> <DocsExample href="components/card.html/#sizing">
<CCard class="w-75"> <CCard class="w-75">
<CCardBody> <CCardBody>
<CCardTitle>Card title</CCardTitle> <CCardTitle>Card title</CCardTitle>
@@ -349,7 +349,7 @@
Use custom CSS in your stylesheets or as inline styles to set a Use custom CSS in your stylesheets or as inline styles to set a
width. width.
</p> </p>
<DocsExample href="components/card/#sizing"> <DocsExample href="components/card.html/#sizing">
<CCard style="width: 18rem"> <CCard style="width: 18rem">
<CCardBody> <CCardBody>
<CCardTitle>Special title treatment</CCardTitle> <CCardTitle>Special title treatment</CCardTitle>
@@ -378,7 +378,7 @@
> >
. .
</p> </p>
<DocsExample href="components/card/#text-alignment"> <DocsExample href="components/card.html/#text-alignment">
<CCard style="width: 18rem"> <CCard style="width: 18rem">
<CCardBody> <CCardBody>
<CCardTitle>Special title treatment</CCardTitle> <CCardTitle>Special title treatment</CCardTitle>
@@ -423,7 +423,7 @@
Add some navigation to a <code>&lt;CCardHeader&gt;</code> with our Add some navigation to a <code>&lt;CCardHeader&gt;</code> with our
<code>&lt;CNav&gt;</code> component. <code>&lt;CNav&gt;</code> component.
</p> </p>
<DocsExample href="components/card/##navigation"> <DocsExample href="components/card.html/##navigation">
<CCard class="text-center"> <CCard class="text-center">
<CCardHeader> <CCardHeader>
<CNav variant="tabs" class="card-header-tabs"> <CNav variant="tabs" class="card-header-tabs">
@@ -448,7 +448,7 @@
</CCardBody> </CCardBody>
</CCard> </CCard>
</DocsExample> </DocsExample>
<DocsExample href="components/card/##navigation"> <DocsExample href="components/card.html/##navigation">
<CCard class="text-center"> <CCard class="text-center">
<CCardHeader> <CCardHeader>
<CNav variant="pills" class="card-header-pills"> <CNav variant="pills" class="card-header-pills">
@@ -486,7 +486,7 @@
Similar to headers and footers, cards can include top and bottom Similar to headers and footers, cards can include top and bottom
&#34;image caps&#34;images at the top or bottom of a card. &#34;image caps&#34;images at the top or bottom of a card.
</p> </p>
<DocsExample href="components/card/#image-caps"> <DocsExample href="components/card.html/#image-caps">
<CRow> <CRow>
<CCol :lg="6"> <CCol :lg="6">
<CCard class="mb-3"> <CCard class="mb-3">
@@ -543,7 +543,7 @@
<p class="text-medium-emphasis small"> <p class="text-medium-emphasis small">
Use <code>color</code> property to change the appearance of a card. Use <code>color</code> property to change the appearance of a card.
</p> </p>
<DocsExample href="components/card/#background-and-color"> <DocsExample href="components/card.html/#background-and-color">
<CRow> <CRow>
<template <template
v-for="item in [ v-for="item in [
@@ -594,7 +594,7 @@
<code>&lt;CCard&gt;</code> or a subset of the card&#39;s contents as <code>&lt;CCard&gt;</code> or a subset of the card&#39;s contents as
shown below. shown below.
</p> </p>
<DocsExample href="components/card/#border"> <DocsExample href="components/card.html/#border">
<template <template
v-for="item in [ v-for="item in [
{ color: 'primary', textColor: 'primary' }, { color: 'primary', textColor: 'primary' },
@@ -636,7 +636,7 @@
<code>&lt;CCard&gt;</code> or a subset of the card&#39;s contents as <code>&lt;CCard&gt;</code> or a subset of the card&#39;s contents as
shown below. shown below.
</p> </p>
<DocsExample href="components/card/#top-border"> <DocsExample href="components/card.html/#top-border">
<template <template
v-for="item in [ v-for="item in [
{ color: 'primary', textColor: 'primary' }, { color: 'primary', textColor: 'primary' },
@@ -682,7 +682,7 @@
use <code>display: flex;</code> to become attached with uniform use <code>display: flex;</code> to become attached with uniform
dimensions starting at the <code>sm</code> breakpoint. dimensions starting at the <code>sm</code> breakpoint.
</p> </p>
<DocsExample href="components/card/#card-groups"> <DocsExample href="components/card.html/#card-groups">
<CCardGroup> <CCardGroup>
<CCard> <CCard>
<CCardImage orientation="top" :src="VueImg" /> <CCardImage orientation="top" :src="VueImg" />
@@ -737,7 +737,7 @@
When using card groups with footers, their content will When using card groups with footers, their content will
automatically line up. automatically line up.
</p> </p>
<DocsExample href="components/card/#card-groups"> <DocsExample href="components/card.html/#card-groups">
<CCardGroup> <CCardGroup>
<CCard> <CCard>
<CCardImage orientation="top" :src="VueImg" /> <CCardImage orientation="top" :src="VueImg" />
@@ -807,7 +807,7 @@
cards to equal width across multiple rows, from the medium cards to equal width across multiple rows, from the medium
breakpoint up. breakpoint up.
</p> </p>
<DocsExample href="components/card/#grid-cards"> <DocsExample href="components/card.html/#grid-cards">
<CRow :xs="{ cols: 1, gutter: 4 }" :md="{ cols: 2 }"> <CRow :xs="{ cols: 1, gutter: 4 }" :md="{ cols: 2 }">
<CCol xs> <CCol xs>
<CCard> <CCard>
@@ -887,7 +887,7 @@
Change it to <code>md="&#123; cols: 3&#125;"</code> and you&#39;ll Change it to <code>md="&#123; cols: 3&#125;"</code> and you&#39;ll
see the fourth card wrap. see the fourth card wrap.
</p> </p>
<DocsExample href="components/card/#grid-cards"> <DocsExample href="components/card.html/#grid-cards">
<CRow :xs="{ cols: 1, gutter: 4 }" :md="{ cols: 3 }"> <CRow :xs="{ cols: 1, gutter: 4 }" :md="{ cols: 3 }">
<CCol xs> <CCol xs>
<CCard> <CCard>
+6 -6
View File
@@ -11,7 +11,7 @@
it with placeholders applied to create a "loading card". Size and it with placeholders applied to create a "loading card". Size and
proportions are the same between the two. proportions are the same between the two.
</p> </p>
<DocsExample href="components/placeholder"> <DocsExample href="components/placeholder.html">
<div class="d-flex justify-content-around"> <div class="d-flex justify-content-around">
<CCard style="width: 18rem"> <CCard style="width: 18rem">
<CCardImage orientation="top" :src="VueImg" /> <CCardImage orientation="top" :src="VueImg" />
@@ -75,7 +75,7 @@
replace the text inside an element or be added as a modifier class replace the text inside an element or be added as a modifier class
to an existing component. to an existing component.
</p> </p>
<DocsExample href="components/placeholder"> <DocsExample href="components/placeholder.html">
<p aria-hidden="true"> <p aria-hidden="true">
<CPlaceholder :xs="6" /> <CPlaceholder :xs="6" />
</p> </p>
@@ -99,7 +99,7 @@
You can change the <code>width</code> through grid column classes, You can change the <code>width</code> through grid column classes,
width utilities, or inline styles. width utilities, or inline styles.
</p> </p>
<DocsExample href="components/placeholder#width"> <DocsExample href="components/placeholder.html#width">
<CPlaceholder :xs="6" /> <CPlaceholder :xs="6" />
<CPlaceholder class="w-75" /> <CPlaceholder class="w-75" />
<CPlaceholder style="width: 30%" /> <CPlaceholder style="width: 30%" />
@@ -116,7 +116,7 @@
<code>currentColor</code>. This can be overridden with a custom <code>currentColor</code>. This can be overridden with a custom
color or utility class. color or utility class.
</p> </p>
<DocsExample href="components/placeholder#color"> <DocsExample href="components/placeholder.html#color">
<CPlaceholder :xs="12" /> <CPlaceholder :xs="12" />
<CPlaceholder color="primary" :xs="12" /> <CPlaceholder color="primary" :xs="12" />
@@ -141,7 +141,7 @@
<code>size</code> prop: <code>lg</code>, <code>sm</code>, or <code>size</code> prop: <code>lg</code>, <code>sm</code>, or
<code>xs</code>. <code>xs</code>.
</p> </p>
<DocsExample href="components/placeholder#color"> <DocsExample href="components/placeholder.html#color">
<CPlaceholder :xs="12" size="lg" /> <CPlaceholder :xs="12" size="lg" />
<CPlaceholder :xs="12" /> <CPlaceholder :xs="12" />
<CPlaceholder :xs="12" size="sm" /> <CPlaceholder :xs="12" size="sm" />
@@ -159,7 +159,7 @@
<code>animation="wave"</code> to better convey the perception of <code>animation="wave"</code> to better convey the perception of
something being <em>actively</em> loaded. something being <em>actively</em> loaded.
</p> </p>
<DocsExample href="components/placeholder#animation"> <DocsExample href="components/placeholder.html#animation">
<CPlaceholder component="p" animation="glow"> <CPlaceholder component="p" animation="glow">
<CPlaceholder :xs="12" /> <CPlaceholder :xs="12" />
</CPlaceholder> </CPlaceholder>