diff --git a/dev/_odoc-theme/manual.css b/dev/_odoc-theme/manual.css index 93adc548..92a1b438 100644 --- a/dev/_odoc-theme/manual.css +++ b/dev/_odoc-theme/manual.css @@ -4,7 +4,7 @@ /* Copyright (c) 2019 The odig programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - odig v0.0.8 */ + odig v0.0.9 */ :root { --font-headings: "PT-Sans-Caption"; --font-body: "PT-Sans"; diff --git a/dev/_odoc-theme/odoc.css b/dev/_odoc-theme/odoc.css index cf97a3d4..1dbc9da2 100644 --- a/dev/_odoc-theme/odoc.css +++ b/dev/_odoc-theme/odoc.css @@ -175,6 +175,8 @@ code, pre color: var(--color-code-fg); overflow-wrap: anywhere; } +code span span { white-space: nowrap } /* Do not break these units */ + pre code { font-size: inherit } /* don't apply transform twice... */ a code { color: inherit } h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { text-transform: none; } @@ -259,13 +261,16 @@ a.anchor .spec.type { padding-left: 0; text-indent: 0 } .spec.type > a.anchor { padding-left: 1ch; padding-right: 1ch; /* values from a.anchor */ } - -.spec td > a.anchor, .spec > a.anchor +.spec li > a.anchor, .spec > a.anchor { padding-right: 0.5ch; padding-left: 2ch; } -.odoc-spec table { margin-top: 0 } -.odoc-spec .def-doc { padding-left: 1ch; } -.odoc-spec .def-doc *:first-child { margin-top: 0 } +.spec ol { margin:0; list-style-type: none; } +.spec li { margin-left: 0; padding-left: 4ch; text-indent: -4ch } +.spec li.record.field { margin-left: 2ch } + +.spec .def-doc { display: inline-block } +.spec .def-doc { padding-left: /* 4 + 3 */ 7ch; } +.spec .def-doc p { margin-left: -4ch; text-indent: 0 } .odoc-include summary { cursor: pointer } diff --git a/dev/containers-data/CCBitField/Make/argument-1-_/index.html b/dev/containers-data/CCBitField/Make/argument-1-_/index.html deleted file mode 100644 index 20f0f33a..00000000 --- a/dev/containers-data/CCBitField/Make/argument-1-_/index.html +++ /dev/null @@ -1,2 +0,0 @@ - -_ (containers-data.CCBitField.Make._)

Parameter Make._

\ No newline at end of file diff --git a/dev/containers-data/CCBitField/Make/index.html b/dev/containers-data/CCBitField/Make/index.html index b4f89af1..73582a5c 100644 --- a/dev/containers-data/CCBitField/Make/index.html +++ b/dev/containers-data/CCBitField/Make/index.html @@ -1,2 +1,2 @@ -Make (containers-data.CCBitField.Make)

Module CCBitField.Make

Create a new bitfield type

Parameters

module _ : sig ... end

Signature

type t = private int

Generative type of bitfields. Each instantiation of the functor should create a new, incompatible type

val empty : t

Empty bitfields (all bits 0).

type field
val get : field -> t -> bool

Get the value of this field.

val set : field -> bool -> t -> t

Set the value of this field.

val mk_field : unit -> field

Make a new field.

val freeze : unit -> unit

Prevent new fields from being added. From now on, creating a field will raise Frozen.

val total_width : unit -> int

Current width of the bitfield.

\ No newline at end of file +Make (containers-data.CCBitField.Make)

Module CCBitField.Make

Create a new bitfield type

Parameters

Signature

type t = private int

Generative type of bitfields. Each instantiation of the functor should create a new, incompatible type

val empty : t

Empty bitfields (all bits 0).

type field
val get : field -> t -> bool

Get the value of this field.

val set : field -> bool -> t -> t

Set the value of this field.

val mk_field : unit -> field

Make a new field.

val freeze : unit -> unit

Prevent new fields from being added. From now on, creating a field will raise Frozen.

val total_width : unit -> int

Current width of the bitfield.

\ No newline at end of file diff --git a/dev/containers-data/CCBitField/index.html b/dev/containers-data/CCBitField/index.html index 2380bca8..7a3624fb 100644 --- a/dev/containers-data/CCBitField/index.html +++ b/dev/containers-data/CCBitField/index.html @@ -9,4 +9,4 @@ let f = B.empty |> B.set x true |> B.set y true;; assert (not (B.get z f)) ;; -assert (f |> B.set z true |> B.get z);;
exception TooManyFields

Raised when too many fields are packed into one bitfield.

exception Frozen

Raised when a frozen bitfield is modified.

val max_width : int

System-dependent maximum width for a bitfield, typically 30 or 62.

module type S = sig ... end
module Make (_ : sig ... end) : S

Create a new bitfield type

\ No newline at end of file +assert (f |> B.set z true |> B.get z);;
exception TooManyFields

Raised when too many fields are packed into one bitfield.

exception Frozen

Raised when a frozen bitfield is modified.

val max_width : int

System-dependent maximum width for a bitfield, typically 30 or 62.

module type S = sig ... end
module Make () : S

Create a new bitfield type

\ No newline at end of file diff --git a/dev/index.html b/dev/index.html index f7092f70..56ec414e 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,2 +1,2 @@ -_opam

OCaml package documentation

Browse by name, by tag, the standard library and the OCaml manual (online, latest version).

Generated for /home/runner/work/ocaml-containers/ocaml-containers/_opam/lib

Packages by name

c

  1. containers
  2. containers-data
  3. containers-thread

e

  1. either

o

  1. ocaml

Packages by tag

\ No newline at end of file +_opam

OCaml package documentation

Browse by name, by tag, the standard library and the OCaml manual (online, latest version).

Generated for /home/runner/work/ocaml-containers/ocaml-containers/_opam/lib

Packages by name

c

  1. containers
  2. containers-data
  3. containers-thread

e

  1. either

o

  1. ocaml

Packages by tag

\ No newline at end of file