We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8615ee commit df60efdCopy full SHA for df60efd
commands/utils/story.js
@@ -1,7 +1,11 @@
1
// Returns true or false if the story should be skipped based on include and exclude config
2
function skipStory(story, config) {
3
- // skip story if it's docs
4
- if (story.parameters && story.parameters.docsOnly) {
+ // skip story if it's docs for version 7
+ if (story.parameters && story.parameters.docsOnly ) {
5
+ return true;
6
+ }
7
+
8
+ if(story.type && story.type === 'docs'){
9
return true;
10
}
11
0 commit comments