Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better document these type-checking items #9885

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

jepler
Copy link
Member

@jepler jepler commented Dec 11, 2024

image

@@ -24,9 +24,13 @@
//| import memorymap
//|
//| FifoType = Literal["auto", "txrx", "tx", "rx", "txput", "txget", "putget"]
//| """A type representing of the strings ``"auto"``, ``"txrx"``, ``"tx"``, ``"rx"``, ``"txput"``, txget" or ``"putget"``. These values are supported on RP2350. For type-checking only, not actually defined in CircuitPython."""

Choose a reason for hiding this comment

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

Tiny typo

Suggested change
//| """A type representing of the strings ``"auto"``, ``"txrx"``, ``"tx"``, ``"rx"``, ``"txput"``, txget" or ``"putget"``. These values are supported on RP2350. For type-checking only, not actually defined in CircuitPython."""
//| """A type representing of the strings ``"auto"``, ``"txrx"``, ``"tx"``, ``"rx"``, ``"txput"``, ``"txget"`` or ``"putget"``. These values are supported on RP2350. For type-checking only, not actually defined in CircuitPython."""

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also should be one of the strings, not of the strings.

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks, I totally overlooked it including in the rendered docs. fixed now.

@jepler jepler requested a review from dhalbert December 11, 2024 20:24
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

I looked at the doc build output and it looks good!

@jepler jepler merged commit 27456d5 into adafruit:main Dec 11, 2024
143 checks 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.

3 participants