Skip to content

Fix src/starlark/fsm_diagram_generator.py to fix docs/fsm_diagrams.md - #4090

Merged
GrantYu9 merged 7 commits into
masterfrom
grant/fix_fsm_diagram_docs
Nov 26, 2026
Merged

GrantYu9 merged 7 commits into
masterfrom
grant/fix_fsm_diagram_docs

Conversation

@GrantYu9

@GrantYu9 GrantYu9 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Description

fsm_diagram_generator.py had a line with \\n instead of <br>. \\n Simply prints the \n character and <br> should be used in this specific instance as HTML-esque formatting seems to be used in the relevant section of code.

Testing Done

Ran bazel run starlark:fsm_diagram_generator in src/ and looked at fsm-diagrams.md in compiled Markdown mode.

Resolved Issues

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

@GrantYu9 GrantYu9 changed the title Fix FSM diagram docs Fix fsm-diagrams.md indocs/ Nov 25, 2026
@GrantYu9
GrantYu9 marked this pull request as ready for review November 25, 2026 23:32
@GrantYu9 GrantYu9 changed the title Fix fsm-diagrams.md indocs/ Fix docs/fsm-diagrams.md Nov 25, 2026
@nycrat

nycrat commented Nov 25, 2026

Copy link
Copy Markdown
Member

@GrantYu9 thanks for getting on this issue so quickly. I do wanna point out that fsm diagrams are procedurally generated with the script in /src/starlark/fsm_diagram_generator.py. So the fix would have to be there

@nycrat

nycrat commented Nov 25, 2026

Copy link
Copy Markdown
Member

that's why you see pre-commit bot undoing changes

@GrantYu9

Copy link
Copy Markdown
Member Author

@GrantYu9 thanks for getting on this issue so quickly. I do wanna point out that fsm diagrams are procedurally generated with the script in /src/starlark/fsm_diagram_generator.py. So the fix would have to be there

Dawg you cannot be serious rn

@GrantYu9

Copy link
Copy Markdown
Member Author

@GrantYu9 thanks for getting on this issue so quickly. I do wanna point out that fsm diagrams are procedurally generated with the script in /src/starlark/fsm_diagram_generator.py. So the fix would have to be there

I'll get to it

@GrantYu9 GrantYu9 changed the title Fix docs/fsm-diagrams.md Fix src/starlark/fsm_diagram_generator.py Nov 26, 2026
@GrantYu9 GrantYu9 changed the title Fix src/starlark/fsm_diagram_generator.py Fix src/starlark/fsm_diagram_generator.py to fix docs/fsm_diagrams.md Nov 26, 2026
@GrantYu9
GrantYu9 force-pushed the grant/fix_fsm_diagram_docs branch from 5fb0372 to 8077b32 Compare November 26, 2026 00:14

@StarrryNight StarrryNight left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

nycrat
nycrat previously requested changes Nov 26, 2026

@nycrat nycrat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good just remove the temporary file you made 👍

Comment thread docs/nonsense.cpp Resolved
@GrantYu9
GrantYu9 merged commit 9b50bb5 into master Nov 26, 2026
25 of 27 checks passed
@GrantYu9
GrantYu9 deleted the grant/fix_fsm_diagram_docs branch November 26, 2026 20:43
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.

4 participants