Skip to content

Repository files navigation

Docgen for the extension

This generates EmmyLua annotations from the Nanos World API repository via a GitHub workflow and pushes them to the docgen-output branch
Right now this runs only when this branch is pushed to, however the final version will periodically check the latest commit to the API to see if the docs need rebuilding

Run Locally

You can run the action locally using https://github.com/github/local-action:

  1. npm install
  2. Copy .env.template to .env.local
  3. Set INPUT_GITHUB-TOKEN to a personal access token with access to the following endpoints:
    • GET /repos/{owner}/{repo}/git/trees/{tree_sha}
    • GET /repos/{owner}/{repo}/contents/{path}
    • You will need to set a lifetime shorter than 1 year as required by the nanos world GitHub org
  4. npm run start

About

nanos world annotated stubs for sumneko’s Lua language server

Topics

Resources

Stars

8 stars

Watchers

3 watching

Forks

Used by

Contributors

Languages