Skip to content

Commit 29d8d72

Browse files
author
Gauvain Pocentek
committed
update user docs with gitlab URLs
1 parent 44a7ef6 commit 29d8d72

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/gl_objects/users.rst

+19
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ References
2525
+ :class:`gitlab.v3.objects.UserManager`
2626
+ :attr:`gitlab.Gitlab.users`
2727

28+
* GitLab API: https://docs.gitlab.com/ce/api/users.html
29+
2830
Examples
2931
--------
3032

@@ -82,6 +84,11 @@ References
8284
+ :class:`gitlab.v4.objects.UserCustomAttributeManager`
8385
+ :attr:`gitlab.v4.objects.User.customattributes`
8486

87+
* GitLab API: https://docs.gitlab.com/ce/api/custom_attributes.html
88+
89+
Examples
90+
--------
91+
8592
List custom attributes for a user:
8693

8794
.. literalinclude:: users.py
@@ -118,6 +125,8 @@ References
118125
+ :class:`gitlab.v4.objects.UserImpersonationTokenManager`
119126
+ :attr:`gitlab.v4.objects.User.impersonationtokens`
120127

128+
* GitLab API: https://docs.gitlab.com/ce/api/users.html#get-all-impersonation-tokens-of-a-user
129+
121130
List impersonation tokens for a user:
122131

123132
.. literalinclude:: users.py
@@ -160,6 +169,8 @@ References
160169
+ :class:`gitlab.v3.objects.CurrentUserManager`
161170
+ :attr:`gitlab.Gitlab.user`
162171

172+
* GitLab API: https://docs.gitlab.com/ce/api/users.html
173+
163174
Examples
164175
--------
165176

@@ -187,6 +198,8 @@ are admin.
187198
+ :class:`gitlab.v4.objects.UserGPGKeyManager`
188199
+ :attr:`gitlab.v4.objects.User.gpgkeys`
189200

201+
* GitLab API: https://docs.gitlab.com/ce/api/users.html#list-all-gpg-keys
202+
190203
Exemples
191204
--------
192205

@@ -243,6 +256,8 @@ are admin.
243256
+ :attr:`gitlab.v3.objects.User.keys`
244257
+ :attr:`gitlab.Gitlab.user_keys`
245258

259+
* GitLab API: https://docs.gitlab.com/ce/api/users.html#list-ssh-keys
260+
246261
Exemples
247262
--------
248263

@@ -299,6 +314,8 @@ are admin.
299314
+ :attr:`gitlab.v3.objects.User.emails`
300315
+ :attr:`gitlab.Gitlab.user_emails`
301316

317+
* GitLab API: https://docs.gitlab.com/ce/api/users.html#list-emails
318+
302319
Exemples
303320
--------
304321

@@ -341,6 +358,8 @@ References
341358
+ :class:`gitlab.v4.objects.UserActivitiesManager`
342359
+ :attr:`gitlab.Gitlab.user_activities`
343360

361+
* GitLab API: https://docs.gitlab.com/ce/api/users.html#get-user-activities-admin-only
362+
344363
Examples
345364
--------
346365

0 commit comments

Comments
 (0)