From 5b9344291e9455c68b1f45217a2cee06f0617f14 Mon Sep 17 00:00:00 2001 From: Paul-Elliot Date: Fri, 13 Dec 2024 15:34:42 +0100 Subject: [PATCH] Doc: add examples of cross-package linking in the cheatsheet --- doc/cheatsheet.mld | 8 ++++++++ doc/odoc-config.sexp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/cheatsheet.mld b/doc/cheatsheet.mld index 2de53ef491..3600acf8f8 100644 --- a/doc/cheatsheet.mld +++ b/doc/cheatsheet.mld @@ -66,12 +66,20 @@ Quick reference for the odoc language! See {{!Odoc_odoc.Compile.compile}this function}. + See {{!/fmt/Fmt.pf}this function from another library}. + + See {{!/cmdliner/tutorial}this page from another package}. + See {{!odoc_for_authors.links_and_references}this section} for the syntax of references.]}} {td See {!Odoc_odoc.Compile.compile}. See {{!Odoc_odoc.Compile.compile}this function}. + See {{!/fmt/Fmt.pf}this function from another library}. + + See {{!/cmdliner/tutorial}this page from another package}. + See {{!odoc_for_authors.links_and_references}this section} for the syntax of references.}} {tr {th {{!odoc_for_authors.lists}Lists} } diff --git a/doc/odoc-config.sexp b/doc/odoc-config.sexp index 580f81d480..2b07de72ba 100644 --- a/doc/odoc-config.sexp +++ b/doc/odoc-config.sexp @@ -1,2 +1,2 @@ (libraries fmt) -(packages brr) +(packages cmdliner)