File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -262,8 +262,13 @@ let ref_info env _sigma ref udecl =
262
262
String. concat " \n\n ---\n\n " @@ [md_code_block @@ compactify @@ Pp. string_of_ppcmds typ]@ args@
263
263
[Format. sprintf " **%s** %s" (pr_globref_kind ref ) (Pp. string_of_ppcmds path)]
264
264
265
+ [%% if coq = " 8.18" || coq = " 8.19" || coq = " 8.20" || coq = " 9.0" ]
265
266
let mod_info mp =
266
267
md_code_block @@ Format. sprintf " Module %s" (DirPath. to_string (Nametab. dirpath_of_module mp))
268
+ [%% else ]
269
+ let mod_info mp =
270
+ md_code_block @@ Format. sprintf " Module %s" (Libnames. string_of_path (Nametab. path_of_module mp))
271
+ [%% endif]
267
272
268
273
let modtype_info mp =
269
274
md_code_block @@ Format. sprintf " Module Type %s" (Libnames. string_of_path (Nametab. path_of_modtype mp))
You can’t perform that action at this time.
0 commit comments