Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.09 KB

main-config-docs.mdx

File metadata and controls

64 lines (39 loc) · 1.09 KB
title sidebar
docs
order title
9
docs

Parent: main.js|ts configuration

Type:

{
  autodocs?: boolean | 'tag';
  defaultName?: string;
  docsMode?: boolean;
}

Configures Storybook's auto-generated documentation.

autodocs

Type: boolean | 'tag'

Default: 'tag'

Enables or disables automatic documentation for stories.

  • true: Enables it for all stories
  • false: Disables it for all stories
  • 'tag': Enables it for stories tagged with 'autodocs'

{/* prettier-ignore-start */}

{/* prettier-ignore-end */}

defaultName

Type: string

Default: 'Docs'

Name used for generated documentation pages.

{/* prettier-ignore-start */}

{/* prettier-ignore-end */}

docsMode

Type: boolean

Only show documentation pages in the sidebar (usually set with the --docs CLI flag).

{/* prettier-ignore-start */}

{/* prettier-ignore-end */}