Merge pull request #157 from Shopify/@cartogram/dont-generate-shopify-dev-docs-without-flag
fix: Don't generate docs without flag
This commit is contained in:
commit
22d70ebf64
|
@ -142,10 +142,11 @@ export class DocsGen {
|
|||
|
||||
await componentResult.docs(componentEntryBase);
|
||||
|
||||
await Promise.all([
|
||||
componentResult.writeReadme(componentEntryBase),
|
||||
componentResult.writeDevDoc(componentPaths.output),
|
||||
]);
|
||||
await componentResult.writeReadme(componentEntryBase);
|
||||
|
||||
if (this.writeDocs) {
|
||||
componentResult.writeDevDoc(componentPaths.output);
|
||||
}
|
||||
|
||||
listItems.push({
|
||||
name: `<a href="${componentUrl}">${name}</a>`,
|
||||
|
|
Loading…
Reference in a new issue