boyney123 / eventcatalog

Discover, Explore and Document your Event Driven Architectures powered by Markdown.

Home Page:https://eventcatalog.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[plugin-doc-generator-amazon-eventbridge] customized parts get deleted on generate

hffmnn opened this issue · comments

Have you read the Contributing Guidelines on issues?

Description

When re-generating events via the plugin-doc-generator-amazon-eventbridge plugin, customized parts of the markdown get deleted.

Steps to reproduce

  1. Edit parts of the automatically generated markdown, e.g.
// Parts automatically generated by the plugin
---
## Matched rules for event

// Manually added parts
---
## Details

Some more details...
  1. Regenerate the docs with npm run generate

Expected behavior

Manually added parts should still be there

// Manually added parts
---
## Details

Some more details...

Actual behavior

Manually added parts are deleted

Your environment

  • EventCatalog version used:
"@eventcatalog/core": "1.2.5",
"@eventcatalog/plugin-doc-generator-amazon-eventbridge": "^0.0.12"

+1 same issue with plugin-generator-asyncapi