Skip to content

docs: Fix Sphinx warnings#40

Merged
godlygeek merged 1 commit into
bloomberg:mainfrom
godlygeek:docs_warning_fixes
Sep 13, 2022
Merged

docs: Fix Sphinx warnings#40
godlygeek merged 1 commit into
bloomberg:mainfrom
godlygeek:docs_warning_fixes

Conversation

@godlygeek

Copy link
Copy Markdown
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