Skip to content

Commit 5667488

Browse files
committed
Starter documentation and snippet fixes
1 parent 2719b7e commit 5667488

File tree

519 files changed

+1367
-1689
lines changed

Some content is hidden

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

519 files changed

+1367
-1689
lines changed

code/addons/docs/docs/theming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The classes correspond to markdown elements (e.g. `sbdocs-title`, `sbdocs-subtit
4444

4545
You can style these classes in `.storybook/preview-head.html`. For example, here's how to make the content wider for UHD displays:
4646

47-
```html
47+
```html title=".storybook/preview-head.html"
4848
<style>
4949
.sbdocs.sbdocs-content {
5050
max-width: 1440px;
Binary file not shown.
Binary file not shown.

docs/_snippets/add-localize-package-to-polyfills.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/_snippets/addon-actions-action-function.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,3 @@ const meta: Meta {
9191

9292
export default meta;
9393
```
94-

docs/_snippets/addon-backgrounds-grid.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,3 @@ const meta: Meta = {
131131

132132
export default meta;
133133
```
134-

docs/_snippets/addon-consume-and-update-globaltype.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ const ExampleToolbar = () => {
3838
);
3939
};
4040
```
41-

docs/_snippets/addon-consume-globaltype.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ const ThemePanel = (props) => {
3838
);
3939
};
4040
```
41-

docs/_snippets/addon-highlight-reset.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,3 @@ export const ResetHighlight: Story = {
240240
],
241241
};
242242
```
243-

docs/_snippets/addon-test-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
```shell renderer="common" language="js" packageManager="npx"
1+
```shell renderer="common" language="js" packageManager="npm"
22
npx storybook add @storybook/experimental-addon-test
33
```
44

0 commit comments

Comments
 (0)