event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.64k stars 135 forks source link

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

Open hffmnn opened 4 months ago

hffmnn commented 4 months ago

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...

2. 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"

s1mrankaur commented 4 months ago

+1 same issue with plugin-generator-asyncapi

bastiankoetsier commented 4 months ago

+1

MichaelBaumgarn commented 4 months ago

+1