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.
2 parents f47e6ff + 3270b85 commit 4071660Copy full SHA for 4071660
commands/utils/story.js
@@ -1,10 +1,15 @@
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
+ // skip story if it's docs for version 7
4
if (story.parameters && story.parameters.docsOnly) {
5
return true;
6
}
7
8
+ // skip story if it's docs for version 8
9
+ if(story.type && story.type === 'docs'){
10
+ return true;
11
+ }
12
+
13
let matches = regexp => {
14
if (typeof regexp === 'string') {
15
let [, parsed, flags] = /^\/(.+)\/(\w+)?$/.exec(regexp) || [];
0 commit comments