Sources
Different sources for Contentlayer
Local Files
You can store documents locally in the content
folder. Fumadocs provides
the default configuration, with an opinionated file structure.
For advanced usages, you may directly interact with the output configuration.
Read Files on their documentation to learn more about the 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.
Learn More
Last updated on