evaera / moonwave

Moonwave is a tool for generating documentation from comments in Lua source code.
https://eryn.io/moonwave/
Mozilla Public License 2.0
152 stars 23 forks source link
Moonwave

Moonwave

Moonwave is a command line tool for generating documentation from comments in Lua source code.

This repository contains three projects:

Key features

Demo

Check out the roblox-lua-promise docs. This website is completely generated by Moonwave!

Name

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!

Docs

Check out the Documentation website

Building in Development and Contributing

Requirements:

  1. Clone this repository
  2. in cli, run npm i, npm run tsc, and npm link
  3. in docusaurus-plugin-moonwave, run npm i
  4. in extractor, run cargo install --path . --locked
  5. in cli, run npm run dev
  6. in another terminal, navigate to the project you want to test with, and run MOONWAVE_DEV=1 moonwave dev

You 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.

License

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/.