Odoc_document.Sidebartype entry = {url : Url.t;valid_link : bool;content : Types.Inline.t;toc_status : [ `Open | `Hidden ] option;}type t = entry Odoc_utils.Tree.forestval of_index : Odoc_index.t -> tval to_block : t -> Url.Path.t -> Types.Block.tGenerates the sidebar document given a global sidebar and the path at which it will be displayed