eventcatalog icon indicating copy to clipboard operation
eventcatalog copied to clipboard

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

Open hffmnn opened this issue 1 year ago • 3 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"

hffmnn avatar Apr 09 '24 12:04 hffmnn