From 680f7ca86e8bc793cad441bf5228d7c521a2d0fd Mon Sep 17 00:00:00 2001 From: Cristiano Calcagno Date: Tue, 27 Sep 2022 09:12:56 +0200 Subject: [PATCH 1/3] Some mention of doc comments. --- pages/docs/manual/latest/overview.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/docs/manual/latest/overview.mdx b/pages/docs/manual/latest/overview.mdx index 5add0adda..90996adbd 100644 --- a/pages/docs/manual/latest/overview.mdx +++ b/pages/docs/manual/latest/overview.mdx @@ -17,10 +17,12 @@ canonical: "/docs/manual/latest/overview" ### Comments -| JavaScript | ReScript | -| ----------------- | ----------- | -| `/* Comment */` | Same | -| `// Line comment` | Same | +| JavaScript | ReScript | +| -------------------- | -------------------------------- | +| `// Line comment` | Same | +| `/* Comment */` | Same | +| `/** Doc Comment */` | `/** Doc Comment Attached */` | +| No distinction | `/*** Standalone Doc Comment */` | ### Variable From c2a4c8bdf5bb755dcb86b0d61bba63bc6503a527 Mon Sep 17 00:00:00 2001 From: Cristiano Calcagno Date: Tue, 27 Sep 2022 09:14:23 +0200 Subject: [PATCH 2/3] Update overview.mdx --- pages/docs/manual/latest/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/manual/latest/overview.mdx b/pages/docs/manual/latest/overview.mdx index 90996adbd..aaeceeda9 100644 --- a/pages/docs/manual/latest/overview.mdx +++ b/pages/docs/manual/latest/overview.mdx @@ -21,7 +21,7 @@ canonical: "/docs/manual/latest/overview" | -------------------- | -------------------------------- | | `// Line comment` | Same | | `/* Comment */` | Same | -| `/** Doc Comment */` | `/** Doc Comment Attached */` | +| `/** Doc Comment */` | `/** Doc Comment Attached */` | | No distinction | `/*** Standalone Doc Comment */` | ### Variable From 0ed1a400fdb862812073c76e739412191322aef8 Mon Sep 17 00:00:00 2001 From: Cristiano Calcagno Date: Tue, 27 Sep 2022 10:53:56 +0200 Subject: [PATCH 3/3] Update overview.mdx --- pages/docs/manual/latest/overview.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/docs/manual/latest/overview.mdx b/pages/docs/manual/latest/overview.mdx index aaeceeda9..9efad93a7 100644 --- a/pages/docs/manual/latest/overview.mdx +++ b/pages/docs/manual/latest/overview.mdx @@ -21,8 +21,8 @@ canonical: "/docs/manual/latest/overview" | -------------------- | -------------------------------- | | `// Line comment` | Same | | `/* Comment */` | Same | -| `/** Doc Comment */` | `/** Doc Comment Attached */` | -| No distinction | `/*** Standalone Doc Comment */` | +| `/** Doc Comment */` | `/** Before Types/Values */` | +| | `/*** Standalone Doc Comment */` | ### Variable