We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b746792 commit 28078c7Copy full SHA for 28078c7
2 files changed
docs/modules.rst
@@ -60,6 +60,8 @@ Configuration
60
.. autoclass:: nameparser.PatronymicRule
61
:members:
62
63
+.. _name-order-constants:
64
+
65
Name-order constants
66
^^^^^^^^^^^^^^^^^^^^
67
nameparser/_policy.py
@@ -65,7 +65,8 @@ class Policy:
-- and pass the result to ``Parser(policy=...)``."""
#: How positional (no-comma) input maps onto given/middle/family.
68
- #: Valid values are exactly the three exported constants --
+ #: Valid values are exactly the three exported
69
+ #: :ref:`name-order constants <name-order-constants>` --
70
#: GIVEN_FIRST (the default), FAMILY_FIRST, and
71
#: FAMILY_FIRST_GIVEN_LAST; any other tuple of Roles raises
72
#: ValueError. Ignored when the input contains a comma:
0 commit comments