Skip to content

docs: fix typos and grammar in component docstrings and comments - #47

Open
Avicennasis wants to merge 1 commit into
reflex-dev:mainfrom
TypoScan3000:docs/fix-typos
Open

Avicennasis wants to merge 1 commit into
reflex-dev:mainfrom
TypoScan3000:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fix typos and grammar in docstrings and comments across 8 files:

  • reflex_chakra/components/overlay/menu.py and menu.pyi: "the button that open the menu" → "opens"; "A list of item to add" → "A list of items to add"
  • reflex_chakra/components/forms/pininput.py and rangeslider.py: "The overrided hooks" → "The overridden hooks"
  • reflex_chakra/components/base.py: "doesnt" → "doesn't"
  • reflex_chakra/components/overlay/popover.py and popover.pyi: "blur out it" → "blur out of it"; "press Enter to Space" → "press Enter or Space"
  • docs/rcweb/rcweb/utils/blocks/code.py: drop the theme: entry from the doccmdoutput docstring, since the function has no theme parameter

The three docstring/comment fixes that the stub generator copies into .pyi files were mirrored byte-for-byte into menu.pyi and popover.pyi, so the stubs stay in step with their sources for the check-pyi job. The stubs were edited by hand, not regenerated locally. The trigger prop's stub docstring comes from Popover.create, so that comment has no stub counterpart.

No functional changes — comments/documentation only.

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>

This branch has not been deployed

No deployments
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