clarify update_page and delete_page readme

This commit is contained in:
Tom Preston-Werner
2010-04-17 16:18:10 -04:00
parent f4fea23a7e
commit d1f6c24c3a
+2 -1
View File
@@ -294,8 +294,9 @@ exist) and commit the change. The file will be written at the repo root.
Update an existing page (keeps the same name, format, and directory location).
page = gollum.find('Page Name')
gollum.update_page(page, 'Page contents', commit)
To delete a page and commit the change:
gollum.delete_page('Page Name', commit)
gollum.delete_page(page, commit)