diff --git a/doc/api/pymongo/collation.rst b/doc/api/pymongo/collation.rst index 121b9d65b..02a4aa42d 100644 --- a/doc/api/pymongo/collation.rst +++ b/doc/api/pymongo/collation.rst @@ -14,3 +14,6 @@ .. autoclass:: pymongo.collation.CollationCaseFirst :members: :member-order: bysource + .. autoclass:: pymongo.collation.CollationMaxVariable + :members: + :member-order: bysource diff --git a/pymongo/collation.py b/pymongo/collation.py index 5692f03e6..873d60333 100644 --- a/pymongo/collation.py +++ b/pymongo/collation.py @@ -119,8 +119,8 @@ class Collation(object): * :data:`~CollationStrength.IDENTICAL` Each successive level builds upon the previous. For example, a - `strength` of `~CollationStrength.SECONDARY` differentiates characters - based both on the unadorned base character and its accents. + `strength` of :data:`~CollationStrength.SECONDARY` differentiates + characters based both on the unadorned base character and its accents. - `numericOrdering`: (optional) If ``True``, order numbers numerically instead of in collation order (defaults to ``False``).