Skip to content

Commit 22d3972

Browse files
committed
docs: move documentation to docs folder
1 parent b5d3ee3 commit 22d3972

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+355
-315
lines changed

src/components/accordion/CAccordion.mdx renamed to docs/4.0/components/CAccordion.mdx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ route: /components/accordion
99
import { Playground, Props } from 'docz'
1010
import { useState } from 'react'
1111

12-
import { CAccordion } from './CAccordion.tsx'
13-
import { CAccordionBody } from './CAccordionBody.tsx'
14-
import { CAccordionButton } from './CAccordionButton.tsx'
15-
import { CAccordionCollapse } from './CAccordionCollapse.tsx'
16-
import { CAccordionHeader } from './CAccordionHeader.tsx'
17-
import { CAccordionItem } from './CAccordionItem.tsx'
12+
import {
13+
CAccordion,
14+
CAccordionBody,
15+
CAccordionButton,
16+
CAccordionCollapse,
17+
CAccordionHeader,
18+
CAccordionItem
19+
} from '../../../src/index.ts'
20+
1821

1922

2023
## Examples

src/components/alert/CAlert.mdx renamed to docs/4.0/components/CAlert.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ route: /components/alert
77
---
88

99
import { Playground, Props } from 'docz'
10-
import { CCallout } from '../callout/CCallout'
1110

12-
import { CAlert } from './CAlert.tsx'
13-
import { CAlertHeading } from './CAlertHeading.tsx'
14-
import { CAlertLink } from './CAlertLink.tsx'
11+
import {
12+
CAlert,
13+
CAlertHeading,
14+
CAlertLink,
15+
CCallout,
16+
} from '../../../src/index.ts'
1517

1618

1719
## Examples

src/components/avatar/CAvatar.mdx renamed to docs/4.0/components/CAvatar.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ route: /components/avatar
88
---
99

1010
import { Playground, Props } from 'docz'
11-
import { CAvatar } from './CAvatar.tsx'
11+
import { CAvatar } from '../../../src/index.ts'
1212

1313

1414
## Image avatars

src/components/badge/CBadge.mdx renamed to docs/4.0/components/CBadge.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ route: /components/badge
88
---
99

1010
import { Playground, Props } from 'docz'
11-
import { CBadge } from './CBadge.tsx'
12-
import { CButton } from './../button/CButton.tsx'
11+
import { CBadge, CButton } from '../../../src/index.ts'
1312

1413
## Example
1514

src/components/breadcrumb/CBreadcrumb.mdx renamed to docs/4.0/components/CBreadcrumb.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ route: /components/breadcrumb
66
---
77

88
import { Playground, Props } from 'docz'
9-
import { CBreadcrumb } from './CBreadcrumb.tsx'
10-
import { CBreadcrumbItem } from './CBreadcrumbItem.tsx'
9+
import { CBreadcrumb, CBreadcrumbItem } from '../../../src/index.ts'
1110

1211
## Example
1312

src/components/button/CButton.mdx renamed to docs/4.0/components/CButton.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ route: /components/buttons
77
---
88

99
import { Playground, Props } from 'docz'
10-
import { CButton } from './CButton.tsx'
10+
import { CButton } from '../../../src/index.ts'
1111

1212
## Examples
1313

src/components/button/CButtonClose.mdx renamed to docs/4.0/components/CButtonClose.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ route: /components/close-buttons
77
---
88

99
import { Playground, Props } from 'docz'
10-
import { CButtonClose } from './CButtonClose.tsx'
10+
import { CButtonClose } from '../../../src/index.ts'
1111

1212
## Example
1313

src/components/button-group/CButtonGroup.mdx renamed to docs/4.0/components/CButtonGroup.mdx

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,22 @@ route: /components/button-group
77
---
88

99
import { Playground, Props } from 'docz'
10-
import { CButtonGroup } from './CButtonGroup.tsx'
11-
import { CButtonToolbar } from './CButtonToolbar.tsx'
12-
import { CButton } from '../button/CButton.tsx'
13-
import { CDropdown } from '../dropdown/CDropdown.tsx'
14-
import { CDropdownDivider } from '../dropdown/CDropdownDivider.tsx'
15-
import { CDropdownHeader } from '../dropdown/CDropdownHeader.tsx'
16-
import { CDropdownItem } from '../dropdown/CDropdownItem.tsx'
17-
import { CDropdownItemPlain } from '../dropdown/CDropdownItemPlain.tsx'
18-
import { CDropdownMenu } from '../dropdown/CDropdownMenu.tsx'
19-
import { CDropdownToggle } from '../dropdown/CDropdownToggle.tsx'
20-
import { CFormCheck } from '../form/CFormCheck.tsx'
21-
import { CFormControl } from '../form/CFormControl.tsx'
22-
import { CInputGroup } from '../form/CInputGroup.tsx'
23-
import { CInputGroupText } from '../form/CInputGroupText.tsx'
10+
import {
11+
CButtonGroup,
12+
CButtonToolbar,
13+
CButton,
14+
CDropdown,
15+
CDropdownDivider,
16+
CDropdownHeader,
17+
CDropdownItem,
18+
CDropdownItemPlain,
19+
CDropdownMenu,
20+
CDropdownToggle,
21+
CFormCheck,
22+
CFormControl,
23+
CInputGroup,
24+
CInputGroupText
25+
} from '../../../src/index.ts'
2426

2527
## Basic example
2628

src/components/callout/CCallout.mdx renamed to docs/4.0/components/CCallout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ route: /components/callout
77
---
88

99
import { Playground, Props } from 'docz'
10-
import { CCallout } from './CCallout'
10+
import { CCallout } from '../../../src/index.ts'
1111

1212
## Examples
1313

src/components/card/CCard.mdx renamed to docs/4.0/components/CCard.mdx

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ route: /components/card
77
---
88

99
import { Playground, Props } from 'docz'
10-
import { CCallout } from '../callout/CCallout'
11-
12-
import { CCol } from '../grid/CCol'
13-
import { CRow } from '../grid/CRow'
14-
15-
import { CButton } from '../button/CButton'
16-
import { CCard } from './CCard'
17-
import { CCardBody } from './CCardBody'
18-
import { CCardFooter } from './CCardFooter'
19-
import { CCardGroup } from './CCardGroup'
20-
import { CCardHeader } from './CCardHeader'
21-
import { CCardImage } from './CCardImage'
22-
import { CCardLink } from './CCardLink'
23-
import { CCardSubtitle } from './CCardSubtitle'
24-
import { CCardTitle } from './CCardTitle'
25-
import { CCardText } from './CCardText'
26-
import { CListGroup } from '../list-group/CListGroup'
27-
import { CListGroupItem } from '../list-group/CListGroupItem'
28-
import { CNav } from '../nav/CNav'
29-
import { CNavItem } from '../nav/CNavItem'
30-
import { CNavLink } from '../nav/CNavLink'
10+
import {
11+
CButton,
12+
CCallout,
13+
CCard,
14+
CCardBody,
15+
CCardFooter,
16+
CCardGroup,
17+
CCardHeader,
18+
CCardImage,
19+
CCardLink,
20+
CCardSubtitle,
21+
CCardTitle,
22+
CCardText,
23+
CListGroup,
24+
CListGroupItem,
25+
CCol,
26+
CNav,
27+
CNavItem,
28+
CNavLink,
29+
CRow
30+
} from '../../../src/index.ts'
3131

3232
## About
3333

0 commit comments

Comments
 (0)