Mo2Dox ⚡
Give your Mojo :mojo: project a beautiful documentation webpage automatically
Repo: https://github.com/endia-ai/Mo2Dox/
A working example: https://endia.vercel.app/
Quick Start:
Features:
- Automatic MDX generation: Seamless conversion from Mojo documentation, building on top of the JSON that the
mojo doc
command creates
- Design: Clean, responsive interface for all devices (thanks Nextra)
- Search: Built-in search functionality for easy navigation (big thanks Nextra)
Mo2Dox is just a thin wrapper over Nextra, and I do not take cedit for most of the cool features.
I'd be happy to get some feedback if it works for your Mojo projects too. Feel free to file issues and pull requests.4 Replies
Getting 404 for the link.
Hmm, it works similar to modular mojo docs, doesn't it?
Looks cool and can be helpful for mojo pacakge developers 👍:mojo:
it builds on top of the json that the
mojo doc
command creates. it converts the json to mdx and provides a template for rendering the mdx files via Nextra, that's it, nothing crazy indeed.
I have added a second template for creating Mojo Docs - now via Material for Mkdocs :mojo:
Generate Docs via Nextra:
or via Mkdocs:
Example Docs when using Mkdocs.