summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/gl_objects/remote_mirrors.rst4
-rw-r--r--docs/gl_objects/runners.rst5
2 files changed, 6 insertions, 3 deletions
diff --git a/docs/gl_objects/remote_mirrors.rst b/docs/gl_objects/remote_mirrors.rst
index ea4f72c..72a39e0 100644
--- a/docs/gl_objects/remote_mirrors.rst
+++ b/docs/gl_objects/remote_mirrors.rst
@@ -24,8 +24,8 @@ Get the list of a project's remote mirrors::
Create (and enable) a remote mirror for a project::
- mirror = project.wikis.create({'url': 'https://gitlab.com/example.git',
- 'enabled': True})
+ mirror = project.remote_mirrors.create({'url': 'https://gitlab.com/example.git',
+ 'enabled': True})
Update an existing remote mirror's attributes::
diff --git a/docs/gl_objects/runners.rst b/docs/gl_objects/runners.rst
index ceda32a..b369bed 100644
--- a/docs/gl_objects/runners.rst
+++ b/docs/gl_objects/runners.rst
@@ -78,7 +78,7 @@ Verify a registered runner token::
except GitlabVerifyError:
print("Invalid token")
-Project runners
+Project/Group runners
===============
Reference
@@ -89,6 +89,9 @@ Reference
+ :class:`gitlab.v4.objects.ProjectRunner`
+ :class:`gitlab.v4.objects.ProjectRunnerManager`
+ :attr:`gitlab.v4.objects.Project.runners`
+ + :class:`gitlab.v4.objects.GroupRunner`
+ + :class:`gitlab.v4.objects.GroupRunnerManager`
+ + :attr:`gitlab.v4.objects.Group.runners`
* GitLab API: https://docs.gitlab.com/ce/api/runners.html