Add JavaScript programming documentation#11143
Merged
sensei-hacker merged 2 commits intoiNavFlight:masterfrom Nov 29, 2025
Merged
Add JavaScript programming documentation#11143sensei-hacker merged 2 commits intoiNavFlight:masterfrom
sensei-hacker merged 2 commits intoiNavFlight:masterfrom
Conversation
Contributor
PR Compliance Guide 🔍All compliance sections have been disabled in the configurations. |
Changed createLogicCondition (which doesn't exist) to pushLogicCommand with correct signature: (operation, operandA, operandB, activatorId)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Summary
docs/javascript_programming/docs/Programming Framework.mdwith cross-links to the new JS programming docsDocumentation Added
JAVASCRIPT_PROGRAMMING_GUIDE.md- Main guide for JS-based programmingOPERATIONS_REFERENCE.md- Complete reference for supported operationsTIMER_WHENCHANGED_EXAMPLES.md- Practical examples for time-based patternsTESTING_GUIDE.md- How to test JavaScript programsGENERATE_CONSTANTS_README.md- Constants generation documentationapi_definitions_summary.md/api_maintenance_guide.md- API documentationimplementation_summary.md/index.md- Overview docsChanges to Existing Docs
docs/Programming Framework.md- Added "JavaScript-Based Programming (Alternative)" section and "Related Documentation" linksDescription
Adds comprehensive JavaScript programming documentation
Documents all INAV logic condition operations and patterns
Provides API definitions structure and maintenance guide
Includes testing guide and implementation details
Updates Programming Framework with JavaScript alternative link
Diagram Walkthrough
File Walkthrough
11 files
Add JavaScript programming section and linksMain JavaScript programming quick reference guideComplete reference for all INAV operationsPractical examples for timer and change detectionComprehensive guide for testing transpiler changesDocumentation for constants generation from firmwareOverview of INAV API definitions structureStep-by-step guide for maintaining API definitionsTechnical architecture and design overviewTechnical implementation details for timer and deltaMain documentation index and table of contents