PYTHON-5111 Update datetime_conversion in docstrings of MongoClients#2135
PYTHON-5111 Update datetime_conversion in docstrings of MongoClients#2135caseyclements merged 4 commits intomongodb:masterfrom
Conversation
… cleaned up formatting of last param
ShaneHarvey
left a comment
There was a problem hiding this comment.
There have been no code changes since my last review.
That's right. What I am saying is that Sphinx adds a carriage return to the last :param. This was how it was before, too. My picture shows the docs as they have existing for however long. When I moved datetime_conversion down, this weird behavior appears for :param type_registry. This is why I added :param kwargs, specifically because it included a big indented list before. There previously was a bold line, but it was redundant if any text was added to kwargs. Suggestions are welcome, given the constraint. I'm pretty happy with how it looks now. |
|
Oh I get it now. Could we at least add a colon and bold "Additional optional parameters available as keyword arguments:". That would better match with the other sections like "Write Concern options:" |
|
@ShaneHarvey Done. Bold with colon. |


Reflects the fact that it is now in kwargs.