Versioning
All content in EventCatalog can be versioned. This allows you to keep historic versions of content which can give context to users why things are changing.
How to version a event
- Create a
/versioned
directory inside the/events
folder if one is not created already. - Create a new folder with the version number inside the folder.
- Example:
/events/InventoryOutOfStock/versioned/0.0.1
- Example:
- Copy contents into the new folder, it at least needs your index.md file.
- Example:
/events/InventoryOutOfStock/versioned/0.0.1/index.md
- Note: the version inside this index.md file would be
0.0.1
- Example:
- Bump the version of the
index.md
file in the route of the domain.- Example
/events/InventoryOutOfStock/index.md
, change theversion
to0.0.2
- Example