diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-12-26 07:04:48 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-12-26 07:08:02 +0100 |
commit | 745389501281d9bcc069e86b1b41e1936132af27 (patch) | |
tree | 88813c689ce1b2f5ff817725efd14a30c0f7e2a7 /docs/gl_objects/snippets.rst | |
parent | bd7d2f6d254f55fe422aa21c9e568b8d213995b8 (diff) | |
download | gitlab-745389501281d9bcc069e86b1b41e1936132af27.tar.gz |
SnippetManager: all() -> public()
Rename the method to make what it does more explicit.
Diffstat (limited to 'docs/gl_objects/snippets.rst')
-rw-r--r-- | docs/gl_objects/snippets.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/gl_objects/snippets.rst b/docs/gl_objects/snippets.rst index 591bc95..34c39fb 100644 --- a/docs/gl_objects/snippets.rst +++ b/docs/gl_objects/snippets.rst @@ -11,12 +11,18 @@ You can store code snippets in Gitlab. Snippets can be attached to projects Examples ======== -List snippets: +List snippets woned by the current user: .. literalinclude:: snippets.py :start-after: # list :end-before: # end list +List the public snippets: + +.. literalinclude:: snippets.py + :start-after: # public list + :end-before: # end public list + Get a snippet: .. literalinclude:: snippets.py |