Skip to content

Work with code examples - #1298

Merged
itsneufox merged 3 commits into
openmultiplayer:masterfrom
NexiusTailer:master
Oct 24, 2026
Merged

itsneufox merged 3 commits into
openmultiplayer:masterfrom
NexiusTailer:master

Conversation

@NexiusTailer

@NexiusTailer NexiusTailer commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

The initial purpose was just to find and fix those code examples across doc pages which won't compile or just broken in other means.

Such samples were found:

  • some of them missed parentheses, brackets or semicolons
  • some used wrong quotes or non-escaped characters inside them
  • some wrongly added extra formatting symbols from utf-8 table which likely wouldn't be recognized by the compiler (zero width spaces etc)

So, finding the last item in docs generally (not only inside code blocks) I also found many of such cases and changed them all to normal spaces, so the diff sometimes doesn't show the exact text clause changed and this is the cause.

Malformed quotes, separators, brackets, declarations, macros and switch examples
@itsneufox
itsneufox merged commit 2da85d1 into openmultiplayer:master Oct 24, 2026
1 check passed
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