Skip to content

Commit

Permalink
default docs to true
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbitronics committed Mar 12, 2024
1 parent 94c6856 commit f8e7969
Show file tree
Hide file tree
Showing 32 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type { import('@storybook/svelte-vite').StorybookConfig } */
const config = {
"stories": [
stories: [
"../**/*.stories.mdx",
"../**/*.stories.@(js|jsx|ts|tsx|svelte)"
],
Expand All @@ -20,7 +20,7 @@ const config = {
},
},
docs: {
autodocs: 'tag',
autodocs: true,
},
}
export default config
2 changes: 1 addition & 1 deletion stories/Card.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Card" component={Card} />
<Meta title="Atoms/Card" component={Card} />

<Template let:args>
<Card {...args}>Card content</Card>
Expand Down
2 changes: 1 addition & 1 deletion stories/Checkbox.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Checkbox" component={Checkbox} />
<Meta title="Atoms/Checkbox" component={Checkbox} />

<Template let:args>
<Checkbox {...args} on:unchecked={args['on:unchecked']} on:checked={args['on:checked']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Circular.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Progress.Circular" component={Progress.Circular} />
<Meta title="Atoms/Progress.Circular" component={Progress.Circular} />

<Template let:args>
<Progress.Circular {...args} />
Expand Down
2 changes: 1 addition & 1 deletion stories/CustomCard.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Molecule/CustomCard" component={CustomCard} />
<Meta title="Molecule/CustomCard" component={CustomCard} />

<Template let:args>
<CustomCard {...args} />
Expand Down
2 changes: 1 addition & 1 deletion stories/DataRowItem.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Datatable.Data.Row.Item" component={Datatable.Data.Row.Item} />
<Meta title="Atoms/Datatable.Data.Row.Item" component={Datatable.Data.Row.Item} />

<Template let:args>
<Datatable.Data.Row.Item {...args}>42</Datatable.Data.Row.Item>
Expand Down
2 changes: 1 addition & 1 deletion stories/DateInput.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/DateInput" component={DateInput} />
<Meta title="Atoms/DateInput" component={DateInput} />

<Template let:args>
<Form class="flex column" on:submit={() => setNotice(value || 'No date selected')}>
Expand Down
2 changes: 1 addition & 1 deletion stories/Drawer.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ a {
}
</style>

<Meta tags={['autodocs']} title="Molecule/Drawer" component={Drawer} />
<Meta title="Molecule/Drawer" component={Drawer} />

<Template let:args>
<body>
Expand Down
2 changes: 1 addition & 1 deletion stories/Fab.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Fab" component={Fab} />
<Meta title="Atoms/Fab" component={Fab} />

<Template let:args>
<Fab {...args} />
Expand Down
2 changes: 1 addition & 1 deletion stories/FileDropArea.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/FileDropArea" component={FileDropArea} />
<Meta title="Atoms/FileDropArea" component={FileDropArea} />

<Template let:args>
<FileDropArea {...args} on:upload={args['on:upload']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Form.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Molecule/Form" component={Form} />
<Meta title="Molecule/Form" component={Form} />

<Template let:args>
<Form on:submit={args['on:submit']} {...args}>
Expand Down
2 changes: 1 addition & 1 deletion stories/HeaderItem.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Datatable.Header.Item" component={Datatable.Header.Item} />
<Meta title="Atoms/Datatable.Header.Item" component={Datatable.Header.Item} />

<Template let:args>
<Datatable.Header.Item {...args}>42</Datatable.Header.Item>
Expand Down
2 changes: 1 addition & 1 deletion stories/IconButton.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/IconButton" component={IconButton} />
<Meta title="Atoms/IconButton" component={IconButton} />

<Template let:args>
<IconButton {...args} on:click={args['on:click']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Introduction.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Repo from './assets/repo.svg'
import StackAlt from './assets/stackalt.svg'
import './_index.scss'

<Meta tags={['autodocs']} title="Example/Introduction" />
<Meta title="Example/Introduction" />

<style>
{`
Expand Down
2 changes: 1 addition & 1 deletion stories/Item.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/List.Item" component={List.Item} />
<Meta title="Atoms/List.Item" component={List.Item} />

<Template let:args>
<List.Item {...args} on:click={args['on:click']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Linear.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Progress.Linear" component={Progress.Linear} />
<Meta title="Atoms/Progress.Linear" component={Progress.Linear} />

<Template let:args>
<Progress.Linear {...args} />
Expand Down
2 changes: 1 addition & 1 deletion stories/List.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const args = {
const onClick = () => alert('you clicked')
</script>

<Meta tags={['autodocs']} title="Molecule/List" component={List} />
<Meta title="Molecule/List" component={List} />

<Template let:args>
<List {...args}>
Expand Down
2 changes: 1 addition & 1 deletion stories/Menu.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Menu" component={Menu} {args} />
<Meta title="Atoms/Menu" component={Menu} {args} />

<Template let:args>
<Button class="mdc-menu-surface--anchor" on:click={args.toggleMenu}>{content}</Button>
Expand Down
2 changes: 1 addition & 1 deletion stories/MoneyInput.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function setValues(max, step) {
}
</style>

<Meta tags={['autodocs']} title="Atoms/MoneyInput" component={MoneyInput} />
<Meta title="Atoms/MoneyInput" component={MoneyInput} />

<Template let:args>
{#if !args.label}
Expand Down
2 changes: 1 addition & 1 deletion stories/Page.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Page" component={Page} />
<Meta title="Atoms/Page" component={Page} />

<Template let:args>
<Page {...args}>
Expand Down
2 changes: 1 addition & 1 deletion stories/SearchableSelect.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ setTimeout(() => {
}, 1500)
</script>

<Meta tags={['autodocs']} title="Atoms/SearchableSelect" component={SearchableSelect} />
<Meta title="Atoms/SearchableSelect" component={SearchableSelect} />

<Template let:args>
<Form on:submit={() => setNotice('submitted')}>
Expand Down
2 changes: 1 addition & 1 deletion stories/Select.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Select" component={Select} />
<Meta title="Atoms/Select" component={Select} />

<Template let:args>
<Select {...args} on:change={args['on:change']} on:populated={args['on:populated']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Simple.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Dialog.Simple" component={Dialog.Simple} />
<Meta title="Atoms/Dialog.Simple" component={Dialog.Simple} />

<Template let:args>
<Dialog.Simple {...args} on:chosen={args['on:chosen']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Snackbar.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ onMount(() => {
})
</script>

<Meta tags={['autodocs']} title="Atoms/Snackbar" component={Snackbar} />
<Meta title="Atoms/Snackbar" component={Snackbar} />

<Template let:args>
<Snackbar {...args} />
Expand Down
2 changes: 1 addition & 1 deletion stories/StaticChip.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const args = {
const chips = ['chip 1', 'CHIP TWO', 'chip three is longer...................']
</script>

<Meta tags={['autodocs']} title="Atoms/StaticChip" component={StaticChip} />
<Meta title="Atoms/StaticChip" component={StaticChip} />

<Template let:args>
<div>
Expand Down
2 changes: 1 addition & 1 deletion stories/Switch.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Switch" component={Switch} />
<Meta title="Atoms/Switch" component={Switch} />

<Template let:args>
<Switch {...args} on:selected={args['on:selected']} on:deselected={args['on:deselected']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/TabBar.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Molecule/TabBar" component={TabBar} />
<Meta title="Molecule/TabBar" component={TabBar} />

<Story name="Default" {args}>
<TabBar tab={args.tab}>
Expand Down
2 changes: 1 addition & 1 deletion stories/TextArea.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/TextArea" component={TextArea} />
<Meta title="Atoms/TextArea" component={TextArea} />

<Template let:args>
<TextArea {...args} />
Expand Down
2 changes: 1 addition & 1 deletion stories/TextField.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const args = {
let lastKey = ''
</script>

<Meta tags={['autodocs']} title="Atoms/TextField" component={TextField} />
<Meta title="Atoms/TextField" component={TextField} />

<Template let:args>
<TextField {...args} on:keydown={args['on:keydown']} on:keypress={args['on:keypress']} on:keyup={args['on:keyup']} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Tooltip.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/Tooltip" component={Tooltip} />
<Meta title="Atoms/Tooltip" component={Tooltip} />

<Template let:args>
<div class="flex justify-center my-4">
Expand Down
2 changes: 1 addition & 1 deletion stories/TopAppBar.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Atoms/TopAppBar" component={TopAppBar} />
<Meta title="Atoms/TopAppBar" component={TopAppBar} />

<Template let:args>
<TopAppBar {...args} on:nav={args.onNav} />
Expand Down
2 changes: 1 addition & 1 deletion stories/Tour.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const args = {
}
</script>

<Meta tags={['autodocs']} title="Molecule/Tour" component={Tour} />
<Meta title="Molecule/Tour" component={Tour} />

<Template let:args>
<Tour on:AlertChosen={args.onAlertChosen} {...args} />
Expand Down

0 comments on commit f8e7969

Please sign in to comment.