Skip to content

Commit 0f31141

Browse files
committed
Improve doc gen error message
It was hard to figure out what it was talking about here.
1 parent 7331560 commit 0f31141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/make-api-docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def endpoint_sort_key(rule):
181181
argdoc = argdoc.replace('\n', '\n ')
182182

183183
if ':`' in argdoc:
184-
app.logger.warning(f"{arg} still contains some rst crap we need to handle")
184+
app.logger.warning(f"{method} {url} ({arg}) still contains some rst crap we need to handle")
185185

186186
s.append(f" — {argdoc}\n\n")
187187
else:

0 commit comments

Comments
 (0)