Skip to content

Grids: create auto doc script#32706

Merged
anna-shakhova merged 4 commits intoDevExpress:26_1from
anna-shakhova:26_1__grids_core_auto_docs_script
Feb 27, 2026
Merged

Grids: create auto doc script#32706
anna-shakhova merged 4 commits intoDevExpress:26_1from
anna-shakhova:26_1__grids_core_auto_docs_script

Conversation

@anna-shakhova
Copy link
Copy Markdown
Contributor

No description provided.

@anna-shakhova anna-shakhova self-assigned this Feb 26, 2026
Copilot AI review requested due to automatic review settings February 26, 2026 11:50
@anna-shakhova anna-shakhova changed the title Grids: create auto doc script [WIP] Grids: create auto doc script Feb 26, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces an automated documentation generator for the Grid Core architecture. The script analyzes TypeScript source files in the grid_core directory to create both JSON and interactive HTML visualizations showing module structure, class hierarchies, inheritance chains, and runtime dependencies.

Changes:

  • Adds a comprehensive TypeScript-based architecture documentation generator with AST parsing capabilities
  • Generates both structured JSON data and an interactive Cytoscape.js-based HTML visualization
  • Creates a new __docs__ directory structure with scripts and configuration for documentation generation

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
packages/devextreme/js/__internal/grids/docs/tsconfig.json TypeScript configuration for the documentation scripts
packages/devextreme/js/__internal/grids/docs/scripts/types.ts TypeScript type definitions for architecture data structures
packages/devextreme/js/__internal/grids/docs/scripts/resolver.ts Logic for resolving class aliases, building registries, and normalizing references
packages/devextreme/js/__internal/grids/docs/scripts/parser.ts AST parsing logic for extracting class hierarchies and module definitions
packages/devextreme/js/__internal/grids/docs/scripts/html-template.ts HTML template generator with embedded Cytoscape.js visualization
packages/devextreme/js/__internal/grids/docs/scripts/graph-builder.ts Cytoscape.js graph element builder for visualization
packages/devextreme/js/__internal/grids/docs/scripts/generate-architecture-doc.ts Main entry point script orchestrating the documentation generation
packages/devextreme/js/__internal/grids/docs/scripts/constants.ts Configuration constants including paths, feature areas, and class mappings
packages/devextreme/js/__internal/grids/docs/scripts/cli.ts CLI argument parser supporting --json and --html flags
packages/devextreme/.gitignore Adds artifacts directory to gitignore

Comment thread packages/devextreme/js/__internal/grids/__docs__/tsconfig.json Outdated
Copilot AI review requested due to automatic review settings February 26, 2026 14:18
@anna-shakhova anna-shakhova force-pushed the 26_1__grids_core_auto_docs_script branch from c80cf53 to 415b13e Compare February 26, 2026 14:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Comment thread packages/devextreme/js/__internal/grids/__docs__/scripts/types.ts Outdated
Comment thread packages/devextreme/js/__internal/grids/__docs__/scripts/resolver.ts Outdated
Comment thread packages/devextreme/js/__internal/grids/__docs__/scripts/resolver.ts Outdated
Comment thread packages/devextreme/js/__internal/grids/__docs__/scripts/resolver.ts Outdated
Copilot AI review requested due to automatic review settings February 26, 2026 14:47
@anna-shakhova anna-shakhova force-pushed the 26_1__grids_core_auto_docs_script branch from e06eccc to 38daee7 Compare February 26, 2026 14:47
@anna-shakhova anna-shakhova reopened this Feb 26, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.

Comment thread packages/devextreme/js/__internal/grids/__docs__/scripts/parser.ts
@anna-shakhova anna-shakhova merged commit b0bb390 into DevExpress:26_1 Feb 27, 2026
120 of 121 checks passed
@anna-shakhova anna-shakhova deleted the 26_1__grids_core_auto_docs_script branch February 27, 2026 12:26
@anna-shakhova anna-shakhova changed the title [WIP] Grids: create auto doc script Grids: create auto doc script Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants