|
2 | 2 | Users |
3 | 3 | ##### |
4 | 4 |
|
5 | | -Use :class:`User` objects to manipulate repository branches. |
| 5 | +Use :class:`~gitlab.objects.User` objects to manipulate repository branches. |
6 | 6 |
|
7 | | -To create :class:`User` objects use the :class:`Gitlab.users` manager. |
| 7 | +To create :class:`~gitlab.objects.User` objects use the |
| 8 | +:attr:`gitlab.Gitlab.users` manager. |
8 | 9 |
|
9 | 10 | Examples |
10 | 11 | ======== |
@@ -54,10 +55,11 @@ Block/Unblock a user: |
54 | 55 | SSH keys |
55 | 56 | ======== |
56 | 57 |
|
57 | | -Use the :class:`UserKey` objects to manage user keys. |
| 58 | +Use the :class:`~gitlab.objects.UserKey` objects to manage user keys. |
58 | 59 |
|
59 | | -To create :class:`UserKey` objects use the :class:`User.keys` or |
60 | | -:class:`Gitlab.user_keys` managers. |
| 60 | +To create :class:`~gitlab.objects.UserKey` objects use the |
| 61 | +:attr:`User.keys <gitlab.objects.User.keys>` or :attr:`gitlab.Gitlab.user_keys` |
| 62 | +managers. |
61 | 63 |
|
62 | 64 | Exemples |
63 | 65 | -------- |
@@ -89,8 +91,13 @@ Delete an SSH key for a user: |
89 | 91 | Current User |
90 | 92 | ============ |
91 | 93 |
|
92 | | -Use the :class:`CurrentUser` object to get information about the currently |
93 | | -logged-in user. |
| 94 | +Use the :class:`~gitlab.objects.CurrentUser` object to get information about |
| 95 | +the currently logged-in user. |
| 96 | + |
| 97 | +Use the :class:`~gitlab.objects.CurrentUserKey` objects to manage user keys. |
| 98 | + |
| 99 | +To create :class:`~gitlab.objects.CurrentUserKey` objects use the |
| 100 | +:attr:`gitlab.objects.CurrentUser.keys <CurrentUser.keys>` manager. |
94 | 101 |
|
95 | 102 | Examples |
96 | 103 | -------- |
@@ -124,5 +131,3 @@ Delete a key for the current user: |
124 | 131 | .. literalinclude:: users.py |
125 | 132 | :start-after: # currentuser key delete |
126 | 133 | :end-before: # end currentuser key delete |
127 | | - |
128 | | - |
|
0 commit comments