From: Catherine Date: Mon, 13 Dec 2021 06:40:55 +0000 (+0000) Subject: docs: add changelog. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3f44e3101e5d12c181e48a0d78c88d8d5842651;p=nmigen.git docs: add changelog. --- diff --git a/docs/index.rst b/docs/index.rst index 2293a5d..3e91ea3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -15,3 +15,4 @@ Language & toolchain lang stdlib platform + changes diff --git a/docs/lang.rst b/docs/lang.rst index ec720d0..43a39a0 100644 --- a/docs/lang.rst +++ b/docs/lang.rst @@ -126,6 +126,8 @@ Shapes can be *cast* from other objects, which are called *shape-castable*. Cast Casting to a shape can be done explicitly with ``Shape.cast``, but is usually implicit, since shape-castable objects are accepted anywhere shapes are. +.. _lang-shapeint: + Shapes from integers -------------------- @@ -139,6 +141,8 @@ Casting a shape from an integer ``i`` is a shorthand for constructing a shape wi unsigned(3) +.. _lang-shaperange: + Shapes from ranges ------------------ @@ -174,6 +178,8 @@ Specifying a shape with a range is convenient for counters, indexes, and all oth Be mindful of this edge case! +.. _lang-shapeenum: + Shapes from enumerations ------------------------