Skip to content

Rebuild script docs when generator or Lua API changes#2859

Merged
daid merged 3 commits intodaid:masterfrom
oznogon:rebuild-scriptdocs-on-change
Apr 17, 2026
Merged

Rebuild script docs when generator or Lua API changes#2859
daid merged 3 commits intodaid:masterfrom
oznogon:rebuild-scriptdocs-on-change

Conversation

@oznogon
Copy link
Copy Markdown
Contributor

@oznogon oznogon commented Apr 15, 2026

Add the Lua-language Lua API sources and the script_docs generator scripts as dependencies to script reference generation in CMakeLists.txt. This should regenerate the script docs file in the build directory when either the Lua-defined APIs or the generator itself are changed.

As it stands now, the script reference is regenerated only if it's deleted from the build directory.

@daid daid merged commit 9862160 into daid:master Apr 17, 2026
5 checks passed
@oznogon oznogon deleted the rebuild-scriptdocs-on-change branch April 17, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants