Skip to content

[Bug]: "The docs.autodocs setting in '.storybook/main.js' is deprecated." Appears even after migrating #27078

Closed

Description

Describe the bug

The new autodocs tag mechanism introduced in #26634 includes a deprecation warning about the docs.autodocs option in main.js being deprecated. It suggests removing that option completely and set the tag in preview.js instead.

After doing that and restarting the server, the deprecation warning is still shown.

To Reproduce

  1. Start Storybook next with the autodocs option in main.js
  2. See the warning in the console.
  3. Stop the server
  4. Remove the autodocs option from main.js
  5. Start the server
  6. See the warning in the console still

System

8.1.0-beta.0

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions