Skip to content

Commit

Permalink
fix: Reenabled patternfly quickstarts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald Labaj committed Sep 23, 2024
1 parent 76c0524 commit 4bb90ed
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,16 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
// EXTENSIONS:

// Quickstarts extension
// const qsPath = require.resolve("@patternfly/quickstarts/package.json");
// const qsContentBase = path.join(
// qsPath.replace("package.json", "dist"),
// "/patternfly-docs/quick-starts"
// );
// const qsPropsBase = qsPath.replace("package.json", "src");
// const qsPropsIgnore = ["**/*.test.tsx", "**/examples/*.tsx"];

// sourceProps(path.join(qsPropsBase, "/**/*.tsx"), qsPropsIgnore);
// sourceMD(path.join(qsContentBase, "**/*.md"));
const qsPath = require.resolve("@patternfly/quickstarts/package.json");
const qsContentBase = path.join(
qsPath.replace("package.json", "dist"),
"/patternfly-docs/quick-starts"
);
const qsPropsBase = qsPath.replace("package.json", "src");
const qsPropsIgnore = ["**/*.test.tsx", "**/examples/*.tsx"];

sourceProps(path.join(qsPropsBase, "/**/*.tsx"), qsPropsIgnore);
sourceMD(path.join(qsContentBase, "**/*.md"));

// Catalog view extension
const catalogViewPath = require.resolve(
Expand Down

0 comments on commit 4bb90ed

Please sign in to comment.