We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794fed0 commit be3cfabCopy full SHA for be3cfab
1 file changed
doc-util/render.libsonnet
@@ -244,11 +244,20 @@
244
(depth == 0)
245
)
246
247
+
248
// Field definition
249
else if std.startsWith(key, '#')
250
then (
251
local realKey = key[1:];
- if 'value' in obj[key]
252
253
+ if !std.isObject(obj[key])
254
+ then
255
+ std.trace(
256
+ 'INFO: docstring "%s" cannot be parsed, ignored while rendering.' % key,
257
+ {}
258
+ )
259
260
+ else if 'value' in obj[key]
261
then {
262
values+: [root.sections.value(
263
key,
@@ -272,7 +281,11 @@
272
281
depth
273
282
)],
274
283
}
275
- else {}
284
+ else
285
286
287
288
276
289
277
290
278
291
// subPackage definition
0 commit comments