Skip to content

Fix diagrams not rendering correctly - #443

Merged
stuij merged 1 commit into
ARM-software:mainfrom
stuij:fix-diagram
Oct 27, 2026
Merged

stuij merged 1 commit into
ARM-software:mainfrom
stuij:fix-diagram

Conversation

@stuij

@stuij stuij commented Oct 22, 2026

Copy link
Copy Markdown
Member

A number of diagrams across several specs didn't render correctly, fix it by using width instead of scale. Basically scale can be dangerous to use in a number of ways. Width is safer.

A number of diagrams across several specs didn't render correctly, fix it by
using width instead of scale. Basically scale can be dangerous to use in a
number of ways. Width is safer.

@smithp35 smithp35 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.

The rendered diagrams look fine on the view side.

Looking it up scale relates to the proportions of the original image and width relates to the proportions of the document. I've found at least one recommendation to prefer width over scale https://ftc-docs.firstinspires.org/en/latest/contrib/tutorials/make_rst/basic_rst_content/basic_rst_content.html

@stuij
stuij merged commit ed4c433 into ARM-software:main Oct 27, 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