Skip to content

Commit

Permalink
Finish all docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Jun 14, 2024
1 parent 5b52962 commit 010d657
Show file tree
Hide file tree
Showing 64 changed files with 76 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/api/arg-types.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'ArgTypes'
sidebar:
order: 3
title: ArgTypes
---

ArgTypes specify the behavior of [args](../writing-stories/args.md). By specifying the type of an arg, you constrain the values that it can accept and provide information about args that are not explicitly set (i.e., [description](#description)).
Expand Down
3 changes: 3 additions & 0 deletions docs/api/cli-options.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: 'CLI options'
hideRendererSelector: true
sidebar:
order: 7
title: CLI options
---

The Storybook command line interface (CLI) is the main tool you use to build and develop Storybook.
Expand Down
3 changes: 3 additions & 0 deletions docs/api/csf.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Component Story Format (CSF)'
sidebar:
order: 2
title: Component Story Format (CSF)
---

<YouTubeCallout id="uH9_dfc-6Kc" title="Test components the EASY way | Component Story Format 3" />
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions docs/api/doc-blocks/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Doc Blocks
sidebar:
order: 5
title: Doc Blocks
---
6 changes: 6 additions & 0 deletions docs/api/main.js configuration/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 'main.js|ts configuration'
sidebar:
order: 1
title: main.js|ts configuration
---
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions docs/api/new-frameworks.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Frameworks'
sidebar:
order: 7
title: Frameworks
---

Storybook is architected to support diverse web frameworks, including React, Vue, Angular, Web Components, Svelte, and over a dozen others. This guide helps you get started on adding new framework support for Storybook.
Expand Down
3 changes: 3 additions & 0 deletions docs/api/parameters.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Parameters'
sidebar:
order: 4
title: Parameters
---

Parameters are static metadata used to configure your [stories](../get-started/whats-a-story.md) and [addons](../addons/index.md) in Storybook. They are specified at the story, meta (component), project (global) levels.
Expand Down
5 changes: 5 additions & 0 deletions docs/api/portable-stories/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Portable Stories
sidebar:
order: 6
title: Portable Stories
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: 'Portable stories in Jest'
draft: true
---

{/* This page is unpublished for now */}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Portable stories in Playwright CT'
sidebar:
order: 1
title: Playwright
---

export const SUPPORTED_RENDERERS = ['react', 'vue'];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: 'Portable stories in Vitest'
draft: true
---

{/* This page is unpublished for now */}
Expand Down
1 change: 1 addition & 0 deletions docs/api/stories.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: 'Stories'
draft: true
---

Storybook is extremely customizable and offers various ways to write your stories.
Expand Down
3 changes: 3 additions & 0 deletions docs/builders/builder-api.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Builder API'
sidebar:
order: 3
title: API
---

Storybook is architected to support multiple builders, including [Webpack](https://webpack.js.org/), [Vite](https://vitejs.dev/), and [ESBuild](https://esbuild.github.io/). The builder API is the set of interfaces you can use to add a new builder to Storybook.
Expand Down
3 changes: 3 additions & 0 deletions docs/builders/vite.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Vite'
sidebar:
order: 1
title: Vite
---

Storybook Vite builder bundles your components and stories with [Vite](https://vitejs.dev/), a fast ESM bundler.
Expand Down
3 changes: 3 additions & 0 deletions docs/builders/webpack.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Webpack'
sidebar:
order: 2
title: Webpack
---

Storybook Webpack builder is the default builder for Storybook. This builder enables you to create a seamless development and testing experience for your components and provides an efficient way to develop UI components in isolation allowing you to leverage your existing Webpack configuration with Storybook.
Expand Down
3 changes: 3 additions & 0 deletions docs/contribute/RFC.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'RFC process'
sidebar:
order: 1
title: RFC process
---

The RFC (Request for Comment) process is intended to provide a consistent and controlled path for new features to enter the project. It helps ensure that new features are well-designed, well-implemented, and well-tested, and they do not conflict with the project's overall direction and scope.
Expand Down
3 changes: 3 additions & 0 deletions docs/contribute/code.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Code contributions'
sidebar:
order: 2
title: Code
---

Contribute a new feature or bug fix to [Storybook's monorepo](https://github.com/storybookjs/storybook). This page outlines how to get your environment set up to contribute code.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Documentation updates'
sidebar:
order: 1
title: Content
---

Fix a typo or clarify a section of the docs. This page outlines how to edit the documentation.
Expand Down
5 changes: 5 additions & 0 deletions docs/contribute/documentation/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Documentation
sidebar:
order: 3
title: Documentation
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Code snippets contributions'
sidebar:
order: 2
title: Code snippets
---

Add or update the code snippets in the documentation. This page outlines how the code snippets are structured.
Expand Down
3 changes: 3 additions & 0 deletions docs/contribute/framework.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Contributing a Storybook framework'
sidebar:
order: 4
title: Frameworks
---

A Storybook framework is a node package that enables out-of-the-box support for either a metaframework (Next.js, NuxtJS, SvelteKit) or a combination of [builder](../builders/index.md) (Webpack, Vite) plus renderer (React, Angular, Vue 3, web components, etc).
Expand Down
3 changes: 3 additions & 0 deletions docs/contribute/how-to-reproduce.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Create a reproduction'
sidebar:
order: 5
title: Reproduce
---

A reproducible test case lets you isolate the cause of a problem, which is the first step towards fixing it! This page outlines how to get set up to create a reproduction.
Expand Down
3 changes: 3 additions & 0 deletions docs/contribute/roadmap.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: 'Roadmap'
hideRendererSelector: true
sidebar:
order: 6
title: Roadmap
---

The Storybook team maintains a [public roadmap](https://github.com/orgs/storybookjs/projects/20/views/1) in the form of a GitHub project. This page explains what's in the roadmap, how to interpret it, and how to contribute to it.
Expand Down
3 changes: 3 additions & 0 deletions docs/migration-guide/from-older-version.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: 'Migration guide from Storybook 6.x to 8.0'
sidebar:
order: 1
title: Migrate from Storybook 6.x to 8.0
---

Storybook 8 focuses on improving performance, compatibility, and stability. Key features include:
Expand Down

0 comments on commit 010d657

Please sign in to comment.