Returns a custom doc from EventCatalog by the given file path.
@example
import utils from'@eventcatalog/utils'; const{ getCustomDoc }=utils('/path/to/eventcatalog'); // Gets the custom doc by the given file path const customDoc =awaitgetCustomDoc('/guides/inventory-management.mdx');
Returns a custom doc from EventCatalog by the given file path.