Skip to content

Commit c0a4146

Browse files
authored
docs: apply suggestions from code review
1 parent d41f805 commit c0a4146

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tools/pfe-tools/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface SiteOptions {
1313
stylesheets?: string[];
1414
/** Title for main page of the demo */
1515
title?: string;
16-
/** Site subpath for components. e.g. 'components'. default: 'components' */
16+
/** Site subpath for components. default: 'components' i.e. 'https://patternflyelements.org/components' */
1717
componentSubpath?: string;
1818
}
1919

tools/pfe-tools/dev-server/config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ function pfeDevServerPlugin(options: PfeDevServerInternalConfig): Plugin {
117117
ctx.redirect(`/${elementsDir}/${element}/${fileName}.ts`);
118118
})
119119
// Redirect `components/jazz-hands/demo/*.js|css` to `components/pf-jazz-hands/demo/*.js|css`
120-
// If request is `components/jazz-hands/demo/some-other-demo/*.js|css redirect files to `components/pf-jazz-hands/demo/*.js|css`
121120
.get(`/${componentSubpath}/:element/demo/:demoSubDir?/:fileName.:ext`, async (ctx, next) => {
122121
const { element, fileName, ext } = ctx.params;
123122
if (!element.includes(tagPrefix)) {

0 commit comments

Comments
 (0)