Skip to content

Commit

Permalink
feat(storybook): centralize doc in storybook only
Browse files Browse the repository at this point in the history
Signed-off-by: aurore.stagnol <[email protected]>
  • Loading branch information
aurore.stagnol authored and dpellier committed Jul 29, 2024
1 parent 543eefe commit 4754ff5
Show file tree
Hide file tree
Showing 43 changed files with 480 additions and 594 deletions.
2 changes: 1 addition & 1 deletion packages/ods/scripts/generate-typedoc-md.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function convertJsonToMarkdown(jsonItems) {
function createSpecMd(component = '') {
const typedocJson = require(path.resolve(typedocBasePath, component, 'typedoc.json'));
// TODO test for prefixed project (like -ovh)
const dir = path.resolve('documentation', 'specifications', component);
const dir = path.resolve('documentation');

fs.mkdirSync(dir, { recursive: true });

Expand Down

This file was deleted.

16 changes: 0 additions & 16 deletions packages/ods/src/components/icon/documentation/overview-icon.mdx

This file was deleted.

21 changes: 21 additions & 0 deletions packages/ods/src/components/icon/documentation/spec.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
<<<<<<< HEAD
## OdsIcon
### Properties
| Property | Type | Required | Default value |
| --- | --- | --- | --- |
| alt | `string` | `false` | `''` |
| name | `OdsIconName` | `true` | `undefined` |
=======
## Properties
### alt

`Optional` **alt**: [_string_] = `''`


### name

**name**: [`arrow-left` | `warning`]
>>>>>>> 8dcddd22b (feat(storybook): centralize doc in storybook only)



<<<<<<< HEAD
### Enums
#### ODS_ICON_NAME

Expand Down Expand Up @@ -292,4 +305,12 @@
**user** = `"user"`

**xmark** = `"xmark"`
=======
## Enums
### Enumeration: ODS_ICON_NAME

**arrowLeft** = `"arrow-left"`

**warning** = `"warning"`
>>>>>>> 8dcddd22b (feat(storybook): centralize doc in storybook only)

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 7 additions & 1 deletion packages/ods/src/components/skeleton/documentation/spec.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
<<<<<<< HEAD
## OdsSkeleton
This component has no properties, events nor methods.
This component has no properties, events nor methods.
=======



>>>>>>> 8dcddd22b (feat(storybook): centralize doc in storybook only)

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4754ff5

Please sign in to comment.