Sources
Different sources for Contentlayer
Local Files
You can store documents locally in the content
folder.
For advanced usages, you may directly interact with the output configuration.
Read the Files Section on their documentation to learn more about local source.
Remote Files
Assume your files are stored in a remote Git repository, Contentlayer supports remote sources which acts very similar to Files source.
You can see the examples in their docs.
Last updated on