Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion build-tools/tasks/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ module.exports = function docs() {
writeComponentsDocumentation({
outDir: path.join(workspace.apiDocsPath, 'components'),
tsconfigPath: require.resolve('../../tsconfig.json'),
publicFilesGlob: 'src/*/index.tsx',
// VirtualTable (design-study cell F1-A2) is a compound-component namespace exported as an
// object literal ({ Root, Header, Body, Row, Cell, ExpandedContent }). The API documenter
// only supports a single-function default export per index.tsx, so it is excluded here
// pending documenter support for compound components (tracked as a PR follow-up). Its API
// is described in src/virtual-table/USAGE.md instead.
publicFilesGlob: 'src/!(virtual-table)/index.tsx',
extraExports: {
FileDropzone: ['useFilesDragging'],
IconProvider: ['defineIcons', 'IconRegistry', 'IconMap'],
Expand Down
1 change: 1 addition & 0 deletions build-tools/utils/pluralize.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const pluralizationMap = {
TreeView: 'TreeViews',
TruncatedText: 'TruncatedTexts',
TutorialPanel: 'TutorialPanels',
VirtualTable: 'VirtualTables',
Wizard: 'Wizards',
};

Expand Down
Loading
Loading