Skip to content

Keep generated Lua guides out of the next export - #192

Open
tony wants to merge 2 commits into
docs-release-handle-typesfrom
docs-export-inputs
Open

tony wants to merge 2 commits into
docs-release-handle-typesfrom
docs-export-inputs

Conversation

@tony

@tony tony commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Generating the reference twice should report the same guides and examples.

Exclude generated directories from the source walk while retaining checkout guides that contributors have added.

Test plan

  • luajit scripts/support/run_tests.lua scripts/docs/tests/test_export.lua (under a second on Linux ARM64)
  • luajit scripts/check/check.lua docs --lua .cache/toolchains/lua-5.5.1/bin/lua --nvim .cache/toolchains/nvim-0.12.5/bin/nvim

Closes #162.

tony added 2 commits December 6, 2026 09:10
why:
Generating the reference twice should report the same guides and
examples.

what:
- Exclude generated directories from the source walk while retaining
  checkout guides that contributors have added.
why:
Generating the reference twice should report the same guides and
examples.

what:
- Record the change under Unreleased.
@tony
tony changed the base branch from master to docs-release-handle-types December 6, 2026 15:10
@tony
tony force-pushed the docs-release-handle-types branch from ce4e545 to bf7fcd2 Compare December 6, 2026 15:11
@tony
tony force-pushed the docs-export-inputs branch from 94db0e7 to f9962d6 Compare December 6, 2026 15:11
@tony
tony deployed to docs-preview December 6, 2026 15:18 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
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.

Rebuilding the Lua reference counts its generated guides twice

1 participant