<img src="https://github.com/evaera/moonwave/raw/v1.4.2/brand/moonwave.svg" alt="Moonwave" height="139" />
Moonwave is a command line tool for generating documentation from comments in Lua source code.
This repository contains three projects: - The Moonwave Extractor, a Rust program that parses Lua files and extracts the docs as JSON - A plugin for Docusaurus, written in React, which displays the JSON docs visually - The Moonwave CLI, which allows you to use both the extractor and the Docusaurus plugin without needing to know anything about how they work.
Check out the roblox-lua-promise docs. This website is completely generated by Moonwave!
Lua is the moon. The moon is your code. The moon influences the waves in the ocean, just like your code influences its documentation. So.. moonwave!
Check out the Documentation website
Requirements: - Node.js 18+ - Rust 1.75.0 and Cargo
cli, run npm i, npm run tsc, and npm linkdocusaurus-plugin-moonwave, run npm iextractor, run cargo install --path . --lockedcli, run npm run devMOONWAVE_DEV=1 moonwave devYou should now be able to change files in the moonwave folder and things should live-reload on your development website. If they don't, Ctrl+C the moonwave dev terminal and restart it. If you continue to have issues, try adding the -i flag to reinstall all dependencies.
Moonwave is available under the terms of the Mozilla Public License Version 2.0. Terms and conditions are available in LICENSE.txt or at https://www.mozilla.org/en-US/MPL/2.0/.
$ claude mcp add moonwave \
-- python -m otcore.mcp_server <graph>