codeant-ai-for-open-source[bot] commented on PR #36756:
URL: https://github.com/apache/superset/pull/36756#issuecomment-3771014227
## **Sequence Diagram**
The PR adds annotations to superset/config.py and a small extractor script
that parses those annotations into docs/static/feature-flags.json, which the
Docusaurus feature-flags.mdx page imports to render a live feature‑flags table.
This diagram shows the core generation → render path introduced by the PR.
```mermaid
sequenceDiagram
participant Dev/CI
participant Config as superset/config.py
participant Script as scripts/extract_feature_flags.py
participant Docs as Docusaurus (feature-flags.mdx)
participant User
Dev/CI->>Config: Annotate feature flags with @lifecycle/@docs/@category
Dev/CI->>Script: Run extractor during docs build
Script->>Config: Read & parse annotated DEFAULT_FEATURE_FLAGS
Script-->>Docs: Write docs/static/feature-flags.json
Docs->>Docs: Import JSON and render Feature Flags table
User->>Docs: View rendered Feature Flags page
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]