Skip to content

publish_docs: check out submodules so WASM build can find ArduinoJson.h#699

Merged
1technophile merged 1 commit into
developmentfrom
fix/publish-docs-submodules
Jun 6, 2026
Merged

publish_docs: check out submodules so WASM build can find ArduinoJson.h#699
1technophile merged 1 commit into
developmentfrom
fix/publish-docs-submodules

Conversation

@1technophile

Copy link
Copy Markdown
Member

Summary

  • The Build browser WebAssembly decoder step added to publish_docs.yml in Add in-docs web parser page powered by browser WASM #697 fails because actions/checkout@v4 does not initialize submodules by default, and ArduinoJson.h lives in the src/arduino_json submodule.
  • This caused the v2.3.0 docs publish to fail with fatal error: 'ArduinoJson.h' file not found (run).
  • The other C++ build jobs (gcc, clang, xcode in PR_build.yml, and publish_npm.yml) already pass submodules: recursive; this one was missed.

Test plan

  • After merge, trigger Create and publish documentation via workflow_dispatch against development and confirm the WASM build step succeeds and the /parser page deploys.

🤖 Generated with Claude Code

The Build browser WebAssembly decoder step added in #697 fails on the
v2.3.0 release because actions/checkout@v4 does not initialize
submodules by default, and src/arduino_json (which provides
ArduinoJson.h) is a submodule. The other CI jobs that build C++
already pass submodules: recursive; this one was missed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@1technophile 1technophile merged commit 7726c16 into development Jun 6, 2026
16 checks passed
@1technophile 1technophile deleted the fix/publish-docs-submodules branch June 6, 2026 00:22
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.

1 participant