Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit746846c

Browse files
author
Gauvain Pocentek
committed
Fix broken docs examples
1 parent3ff7d9b commit746846c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

‎docs/gl_objects/access_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# approve
2626
ar.approve()# defaults to DEVELOPER level
2727
ar.approve(access_level=gitlab.MASTER_ACCESS)# explicitly set access level
28-
# approve
28+
#endapprove
2929

3030
# delete
3131
gl.project_accessrequests.delete(user_id,project_id=1)

‎docs/gl_objects/commits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
commit=gl.project_commits.create(data,project_id=1)
2828
# or
2929
commit=project.commits.create(data)
30-
# endcommit
30+
# endcreate
3131

3232
# get
3333
commit=gl.project_commits.get('e3d5a71b',project_id=1)

‎docs/gl_objects/issues.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,29 +109,29 @@ Get time tracking stats:
109109

110110
..literalinclude::issues.py
111111
:start-after: # project issue time tracking stats
112-
:end-before: # end project time tracking stats
112+
:end-before: # end projectissuetime tracking stats
113113

114114
Set a time estimate for an issue:
115115

116116
..literalinclude::issues.py
117117
:start-after: # project issue set time estimate
118-
:end-before: # end project set time estimate
118+
:end-before: # end projectissueset time estimate
119119

120120
Reset a time estimate for an issue:
121121

122122
..literalinclude::issues.py
123123
:start-after: # project issue reset time estimate
124-
:end-before: # end project reset time estimate
124+
:end-before: # end projectissuereset time estimate
125125

126126
Add spent time for an issue:
127127

128128
..literalinclude::issues.py
129129
:start-after: # project issue set time spent
130-
:end-before: # end project set time spent
130+
:end-before: # end projectissueset time spent
131131

132132
Reset spent time for an issue:
133133

134134
..literalinclude::issues.py
135135
:start-after: # project issue reset time spent
136-
:end-before: # end project reset time spent
136+
:end-before: # end projectissuereset time spent
137137

‎docs/gl_objects/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,4 +448,4 @@
448448

449449
# board lists delete
450450
b_list.delete()
451-
# endboards lists delete
451+
# endboard lists delete

‎docs/gl_objects/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# public list
66
public_snippets=gl.snippets.public()
7-
#nd public list
7+
#end public list
88

99
# get
1010
snippet=gl.snippets.get(snippet_id)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp