8000 docs: Fix Sphinx warnings by godlygeek · Pull Request #40 · bloomberg/python-comdb2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: Fix Sphinx warnings #40

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

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Conversation

godlygeek
Copy link
Contributor

We were using T as a stand-in for any valid parameter type, but Sphinx
doesn't like that. Let's just use Any in the docs - the actual valid
types are spelled out in the type stubs, but adding them to the
documentation would make things unnecessarily verbose and repetitive.

Likewise, we were using Row as a stand-in for whatever row type is
configured using the row_factory, but let's just drop that and leave
it implicit.

Finally, use code formatting (double backticks) rather than references
(single backticks) for some things that were never meant to be
references.

Signed-off-by: Matt Wozniski mwozniski@bloomberg.net

We were using `T` as a stand-in for any valid parameter type, but Sphinx
doesn't like that. Let's just use `Any` in the docs - the actual valid
types are spelled out in the type stubs, but adding them to the
documentation would make things unnecessarily verbose and repetitive.

Likewise, we were using `Row` as a stand-in for whatever row type is
configured using the `row_factory`, but let's just drop that and leave
it implicit.

Finally, use code formatting (double backticks) rather than references
(single backticks) for some things that were never meant to be
references.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
@godlygeek godlygeek merged commit eaaa547 into bloomberg:main Sep 13, 2022
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