Adding documentation
miyagi supports multiple ways of documentation:
- You can create documentation files in your components to document their behavior.
- You can put markdown files anywhere inside your
config.components.folderdirectory. If you name them eitherREADME.md,index.mdor<directory>.md(i.e. the file name equals the directory name), this file will be used as the index for the current directory. - The
config.docs.folderdirectory can be used as a dedicated directory for documentation. It would be shown on the same level as your components directory in the menu. If you do not use it, you can setconfig.docs.foldertonull.