summaryrefslogtreecommitdiff
path: root/docs/gl_objects/environments.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-08-11 16:07:04 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-08-11 16:07:04 +0200
commit4057644f03829e4439ec8ab1feacf90c65d976eb (patch)
tree977658ba5109c8a3b512a882bf0a037daad754cb /docs/gl_objects/environments.rst
parent80eab7b0c0682c5df99495acc4d6f71f36603cfc (diff)
downloadgitlab-4057644f03829e4439ec8ab1feacf90c65d976eb.tar.gz
Update the objects doc/examples for v4
Diffstat (limited to 'docs/gl_objects/environments.rst')
-rw-r--r--docs/gl_objects/environments.rst21
1 files changed, 17 insertions, 4 deletions
diff --git a/docs/gl_objects/environments.rst b/docs/gl_objects/environments.rst
index 83d080b..d94c453 100644
--- a/docs/gl_objects/environments.rst
+++ b/docs/gl_objects/environments.rst
@@ -2,10 +2,23 @@
Environments
############
-Use :class:`~gitlab.objects.ProjectEnvironment` objects to manipulate
-environments for projects. The :attr:`gitlab.Gitlab.project_environments` and
-:attr:`Project.environments <gitlab.objects.Project.environments>` manager
-objects provide helper functions.
+Reference
+---------
+
+* v4 API:
+
+ + :class:`gitlab.v4.objects.ProjectEnvironment`
+ + :class:`gitlab.v4.objects.ProjectEnvironmentManager`
+ + :attr:`gitlab.v4.objects.Project.environments`
+
+* v3 API:
+
+ + :class:`gitlab.v3.objects.ProjectEnvironment`
+ + :class:`gitlab.v3.objects.ProjectEnvironmentManager`
+ + :attr:`gitlab.v3.objects.Project.environments`
+ + :attr:`gitlab.Gitlab.project_environments`
+
+* GitLab API: https://docs.gitlab.com/ce/api/environments.html
Examples
--------