prisma-docs-generator
prisma-docs-generator copied to clipboard
Pagination and groupping + mermaid diagram
In my case, when generate docs and open index.html
, browser being shutted down due to too long contents.
I hope to separate each models to each page. Also, traveling third party libraries of prisma
about ERD generation, none of them could express my database relationships cleary due to too many tables. Therefore, I hope to suggest you to providing groupping feature, and drawing mermaid diagram per each group page.
- pages per models
- support groupping
- mermaid diagrams per each group
If you agree, then I can help you about the last feature, "mermaid diagrams per each group".
/// @group articles
model bbs_articles {
}
/// @group sales
model shopping_sales {
}
/// @group orders
model shopping_orders {
}
https://github.com/samchon/prisma-markdown/blob/master/ERD.md
I tried to accomplish it in markdown level, and succeeded to implement it.
However, I don't have enough insights about website rendering. So, hope prisma-docs-generator
to support same thing.