mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
fix(angular): use docsMode to set docs options
setting the docs property to false seems to break things. probably used for other things. docsMode seems to be the right option for the standalone run
This commit is contained in:
parent
0aaad2c192
commit
8ae51ecf49
@ -71,7 +71,7 @@ describe('Build Storybook Builder', () => {
|
||||
angularBrowserTarget: 'angular-cli:build-2',
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
configDir: '.storybook',
|
||||
docs: false,
|
||||
docsMode: false,
|
||||
loglevel: undefined,
|
||||
quiet: false,
|
||||
outputDir: 'storybook-static',
|
||||
@ -104,7 +104,7 @@ describe('Build Storybook Builder', () => {
|
||||
angularBrowserTarget: 'angular-cli:build-2',
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
configDir: '.storybook',
|
||||
docs: false,
|
||||
docsMode: false,
|
||||
loglevel: undefined,
|
||||
quiet: false,
|
||||
outputDir: 'storybook-static',
|
||||
|
@ -36,7 +36,7 @@
|
||||
"description": "Suppress verbose build output.",
|
||||
"default": false
|
||||
},
|
||||
"docs": {
|
||||
"docsMode": {
|
||||
"type": "boolean",
|
||||
"description": "Starts Storybook in documentation mode. Learn more about it : https://storybook.js.org/docs/react/writing-docs/build-documentation#preview-storybooks-documentation.",
|
||||
"default": false
|
||||
|
@ -73,7 +73,7 @@ describe('Start Storybook Builder', () => {
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
ci: false,
|
||||
configDir: '.storybook',
|
||||
docs: false,
|
||||
docsMode: false,
|
||||
host: 'localhost',
|
||||
https: false,
|
||||
port: 4400,
|
||||
@ -111,7 +111,7 @@ describe('Start Storybook Builder', () => {
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
ci: false,
|
||||
configDir: '.storybook',
|
||||
docs: false,
|
||||
docsMode: false,
|
||||
host: 'localhost',
|
||||
https: false,
|
||||
port: 9009,
|
||||
|
@ -63,7 +63,7 @@
|
||||
"description": "Suppress verbose build output.",
|
||||
"default": false
|
||||
},
|
||||
"docs": {
|
||||
"docsMode": {
|
||||
"type": "boolean",
|
||||
"description": "Starts Storybook in documentation mode. Learn more about it : https://storybook.js.org/docs/react/writing-docs/build-documentation#preview-storybooks-documentation.",
|
||||
"default": false
|
||||
|
Loading…
x
Reference in New Issue
Block a user