Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert LDoc to lua-language-server (#1775)
* Automatic update from ldoc -> lls syntax Using a set of simple regexp replacements to convert from LDoc compatible lua doc syntax. Script used: https://github.com/rhys-vdw/spring-lua-doc-converter * LuaBitOps.cpp: Update Lua docs * LuaConstCOB.cpp: Update Lua docs * LuaConstCMD.cpp: Update Lua docs * LuaConstCMDTYPE.cpp: Update Lua docs * LuaConstGL.cpp: Update Lua docs * LuaConstGame.cpp: Update Lua docs * LuaConstPlatform.cpp: Update Lua docs * LuaConstGL.cpp: Define GLenum in Lua * LuaFBOs.cpp: Update Lua docs * LuaHandle.cpp: Update Lua docs * LuaHandleSynced.cpp: Update Lua docs * Lua docs: cmdOpts -> CommandOptions * Lua docs: mods -> KeyModifiers * LuaMathExtra.cpp: Update Lua docs * LuaMenu.cpp: Update Lua docs * LuaMetalMap.cpp: Update Lua docs * LuaOpenGL.cpp: Update Lua docs * LuaRBOs.cpp: Update Lua docs * LuaShaders.cpp: Update Lua docs * LuaSyncedCtrl.cpp: Update Lua docs * LuaVBO.cpp: Update Lua docs * Create Types.lua To contain type definitions shared between the various cpp lua files * LuaUnsyncedRead.cpp: Update Lua docs And move some more definitions into `Types.lua` * LuaVAO.cpp, LuaVAOImpl.cpp: Update Lua docs * LuaVBO.cpp, LuaVBOImpl.cpp: Update Lua docs * LuaIntro.cpp: Update Lua docs * Fix typo * Lua: GLenum -> GL * Better Lua types * Move resource types into Types.lua * Add .luarc.json * Create Lua regeneration script To be replace with github action * Regenerate Lua library * Add GitHub workflow to regenerate Lua metafiles * Remove Lua script * FIX .luarc.json * Lua library action updates submodule * Set git config globally * Update lua-api.md Written by badosu * Add guide for generating LuaLS docs * Update site README with specific Ruby version * Remove params from generated Lua API methods * Update Gemfile * Use correct LLS doc filename * WIP Messing with .luarc.json * Add ignores to luarc * lua-api.md improvements Fixing a bunch of bad stuff. * Add syntax highlighting on doc "view" * Update docs README Change the command to generate from root, because of a bug where using relative paths causes duplicated generation. * Show the definition for alias types * Remove double hr in API docs * Add guide for installing lua-doc-extractor * Remove use of external Lua library repo * Add LUA_DOC_GUIDE * Generate docs using Lua Language Server * Update LuaTracyExtra.cpp * Update LuaTableExtra * Update LuaLS library * Allow publishing site from other branches For testing * Remove LDoc config * Revert "Remove use of external Lua library repo" This reverts commit 81874c2. * Remove disabled libs from main luarc * Do not push generated lua library to Recoil repo * Delete generated Lua library * Update LuaFonts LDoc -> LLS * LDoc -> LLS * More LDoc -> LLS cleanup * Fix some stuff after rebase * Add recoil-lua-library submodule * Keep the local lua library updated * Add Facing alias * Init submodule before updating * Update Lua libary submodule * Update Lua doc guide * Move Lua guide into site guides * Update site readme for lua language server * Init library submodule before generating API docs * Prefer SSH key lua library deployment * Update Lua libary submodule * Point workflow to beyond-all-reason/recoil-lua-library * Update submodule to beyond-all-reason/recoil-lua-library * Update doc link to beyond-all-reason/recoil-lua-library * Remove LDoc from gitignore * Install lua-doc-extractor from npm * Add comment to .luarc.doc.json * Ignore lua-language-server doc export * Add header to lua-language-server guide * Add section on IDE support for Lua * Fix manual Lua doc export steps * Ignore .bundle in site folder Contains local bundle config * Add note about bad docs to Lua API page * Install lua-doc-extractor globally * Remove recoil-lua-library submodule * Do not add .luarc.json to library repo * Fix typo in lua-language-server doc gen command * Remove doc/site/ldoc folder * Prefer rgb type * Clean up lua doc for SetHeightMap * lua-api.markdown: Show ... varargs param properly * Remove TOC from lua-api.md * Fix ActiveCommandChanged params * Add source link to recoil-lua-library * Open source links in new tab * Remove type from API heading * Remove meta comment from losAccess doc * Fix workflow link * Fix library path * Add author to lls guide * Add changelog entry * Remove required arguments from `math.bit_*` * Revert "Add changelog entry" This reverts commit f79ebc3. * Fix up some docs in LuaUnsyncedCtrl.cpp * Prefer integer type for ID params * Add more detailed lua language support changelog * Remove engine dev notes from changelog * Split LLS docs into two engine and game dev articles --------- Co-authored-by: rhys-vdw <[email protected]> Co-authored-by: rhys-vdw <[email protected]>
- Loading branch information