summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Starms <vilhelmen@gmail.com>2017-01-11 17:40:28 -0600
committerWill Starms <vilhelmen@gmail.com>2017-01-11 17:40:28 -0600
commite7560a9d07632cf4b7da8d44acbb63aa1248104a (patch)
tree6197592c345d8f3d550c0408ddb2f62a9d6379cb
parent05b3abf99b7af987a66c549fbd66e11710d5e3e6 (diff)
downloadgitlab-e7560a9d07632cf4b7da8d44acbb63aa1248104a.tar.gz
Update project.archive() docs
-rw-r--r--docs/gl_objects/projects.py4
-rw-r--r--docs/gl_objects/projects.rst5
2 files changed, 4 insertions, 5 deletions
diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py
index ed99cec..54bde84 100644
--- a/docs/gl_objects/projects.py
+++ b/docs/gl_objects/projects.py
@@ -67,8 +67,8 @@ project.unstar()
# end star
# archive
-project.archive_()
-project.unarchive_()
+project.archive()
+project.unarchive()
# end archive
# events list
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index 584fa58..dc6c48b 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -94,9 +94,8 @@ Archive/unarchive a project:
.. note::
- The underscore character at the end of the methods is used to workaround a
- conflict with a previous misuse of the ``archive`` method (deprecated but
- not yet removed).
+ Previous versions used ``archive_`` and ``unarchive_`` due to a naming issue,
+ they have been deprecated but not yet removed.
Repository
----------