Skip to content

Commit e7bda8d

Browse files
committed
Default documentation when missing.
1 parent a302c28 commit e7bda8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ecDoc.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ let c_section_main_itemkind_li ?(supthf : string option) (rth : string) (th : st
158158
match ik with
159159
| `Theory ->
160160
let (hdoc, tdoc) =
161-
if doc = [] then "", []
161+
if doc = [] then "No description available.", []
162162
else if List.length doc = 1 then List.hd doc, []
163163
else List.hd doc, List.tl doc
164164
in
@@ -184,7 +184,7 @@ let c_section_main_itemkind_li ?(supthf : string option) (rth : string) (th : st
184184
| `Theory -> assert false
185185
| _ ->
186186
let (hdoc, tdoc) =
187-
if doc = [] then "", []
187+
if doc = [] then "No description available. (However, source code is still provided in the details below.)", []
188188
else if List.length doc = 1 then List.hd doc, []
189189
else List.hd doc, List.tl doc
190190
in

0 commit comments

Comments
 (0)