From 70410349ff6baf0714b671a6811e67770e672c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 28 Aug 2014 01:24:57 +0200 Subject: [PATCH] Update reference documentation --- docs/references.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/references.rst b/docs/references.rst index 4d9a16b..db97ff8 100644 --- a/docs/references.rst +++ b/docs/references.rst @@ -17,16 +17,18 @@ Example:: The Reference type ==================== +.. autoclass:: pygit2.Reference + .. autoattribute:: pygit2.Reference.name .. autoattribute:: pygit2.Reference.shorthand .. autoattribute:: pygit2.Reference.target .. autoattribute:: pygit2.Reference.type +.. automethod:: pygit2.Reference.set_target .. automethod:: pygit2.Reference.delete .. automethod:: pygit2.Reference.rename .. automethod:: pygit2.Reference.resolve .. automethod:: pygit2.Reference.log -.. automethod:: pygit2.Reference.log_append Example::