This project uses a custom Nuxt frontend to render documentation from Markdown files. The documentation is deployed at https://memos.openmem.net/docs/home.
- Create a new
.mdfile in thedocs/directory or one of its subdirectories. - Add content to the file using Markdown syntax.
- Add the new document to the
navsection indocs/settings.yml. - Once the your changes are merged into the
mainbranch, the documentation will be automatically updated.
When adding entries to the navigation in docs/settings.yml, you can include icons using the syntax (ri:icon-name). For example:
- "(ri:home-line) Home": overview.md
- "(ri:team-line) Users": modules/mos/users.md
- "(ri:flask-line) Writing Tests": contribution/writing_tests.mdThe frontend will render these as actual icons. You can find available icons at https://icones.js.org/.
To preview a simple version of the documentation locally, run the following command from the root of the project:
make docsThis command will start a local web server, and you can view the documentation by opening the URL provided in the terminal (usually http://127.0.0.1:8000).