Skip to content

fix: use logical AND instead of bitwise AND in sidebar parser - #751

Open
ARYA-mgc wants to merge 1 commit into
mavlink:masterfrom
ARYA-mgc:fix/bitwise-and-sidebar-parser
Open

fix: use logical AND instead of bitwise AND in sidebar parser#751
ARYA-mgc wants to merge 1 commit into
mavlink:masterfrom
ARYA-mgc:fix/bitwise-and-sidebar-parser

Conversation

@ARYA-mgc

@ARYA-mgc ARYA-mgc commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes a bug in .vitepress/get_sidebar.js where a bitwise AND (&) was mistakenly used instead of a logical AND (&&) on line 119.

Change

- if ((indent_divider == 0) & (indent_level > 0.0)) {
+ if ((indent_divider == 0) && (indent_level > 0.0)) {

@ARYA-mgc
ARYA-mgc force-pushed the fix/bitwise-and-sidebar-parser branch from 5c01ca7 to b1a4d79 Compare August 29, 2026 19:04
@ARYA-mgc

Copy link
Copy Markdown
Contributor Author

HIi @hamishwillee could you review the changes when you get a chance? Thanks

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