From cf575d91dfbba27b1843577c11f379ac6e3aa53e Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Jun 2016 16:02:51 +0200 Subject: [PATCH 1/4] Ddoc: remove (X)REF from inside LNAME2 Would generate nested ``s, which is broken HTML. Also replacing the broken XREF with MREF. --- changelog.dd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/changelog.dd b/changelog.dd index 772048bce57..24eb5a23e64 100644 --- a/changelog.dd +++ b/changelog.dd @@ -53,9 +53,10 @@ $(BUGSTITLE Library Changes, $(BUGSTITLE Library Changes, -$(LI $(LNAME2 std-digest-murmurhash, Implementation of $(XREF std.digest, murmurhash).) - $(P MurmurHash is a non-cryptographic hash function suitable for general - hash-based lookup. It is optimized for x86 architectures. +$(LI $(LNAME2 std-digest-murmurhash, Implementation of `std.digest.murmurhash`). + $(P $(MREF std,digest,murmurhash) has been added. MurmurHash is a + non-cryptographic hash function suitable for general hash-based lookup. It + is optimized for x86 architectures. ) ------ // Computing the 32-bits hash value of an int array using the convenient digest template. @@ -116,7 +117,7 @@ assert(m.front[1] == "12"); ------- ) -$(LI $(LNAME2 regex-with-matches, $(REF splitter, std,regex) now supports keeping the +$(LI $(LNAME2 regex-with-matches, `std.regex.splitter` now supports keeping the pattern matches in the resulting range.) ------- import std.regex; From 6ad3ed091e33b84b79dc00c030f0028457b7acb9 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Jun 2016 16:00:55 +0200 Subject: [PATCH 2/4] Ddoc: remove early closing parenthesis --- changelog.dd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.dd b/changelog.dd index 24eb5a23e64..230d705d0a1 100644 --- a/changelog.dd +++ b/changelog.dd @@ -76,7 +76,7 @@ $(LI $(LNAME2 process, Process creation in `std.process` was sped up on Posix.) ) $(LI $(LNAME2 std-algorithm-iteration-cumulativeFold, - `algorithm.iteration.cumulativeFold` was added.)) + `algorithm.iteration.cumulativeFold` was added.) $(P $(REF cumulativeFold, std,algorithm,iteration) returns the successive reduced values of an input range.) From d4ee238748e8a8c19774c94d7d9dde37afd273ea Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Jun 2016 16:01:14 +0200 Subject: [PATCH 3/4] Ddoc: typo --- changelog.dd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.dd b/changelog.dd index 230d705d0a1..2843e978cfb 100644 --- a/changelog.dd +++ b/changelog.dd @@ -187,7 +187,7 @@ assert(ar == [[0, 3], [1, 4], [2, 5]]); ) $(LI $(LNAME2 slice_iota, `iotaSlice` lazy tensor was added to `std.experimental.ndslice.selection`.) - %(P $(REF iotaSlice, std,experimental,ndslice,selection) is the fastest possible `Slice`.) + $(P $(REF iotaSlice, std,experimental,ndslice,selection) is the fastest possible `Slice`.) --- import std.experimental.ndslice; From 91d0450976fb7018cacfcb87f37be07df237e605 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Jun 2016 16:02:00 +0200 Subject: [PATCH 4/4] Ddoc: use UL for more readability --- changelog.dd | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/changelog.dd b/changelog.dd index 2843e978cfb..233b930a76e 100644 --- a/changelog.dd +++ b/changelog.dd @@ -163,14 +163,15 @@ $(LI $(LNAME2 slice_ptr, `ptr` property and public constructor were added to $(LI $(LNAME2 slice_alloc, `slice`, `shape`, `ndarray`, and other utilities were added to `std.experimental.ndslice.slice`.) - $(P - $(REF shape, std,experimental,ndslice,slice) - $(REF slice, std,experimental,ndslice,slice), - $(REF makeSlice, std,experimental,ndslice,slice), - $(REF ndarray, std,experimental,ndslice,slice), and - $(REF makeNdarray, std,experimental,ndslice,slice) - allocation utilities were added to $(MREF std,experimental,ndslice) - ) + $(P These utility functions have been added to + $(MREF std,experimental,ndslice):) + $(UL + $(LI $(REF shape, std,experimental,ndslice,slice),) + $(LI $(REF slice, std,experimental,ndslice,slice),) + $(LI $(REF makeSlice, std,experimental,ndslice,slice),) + $(LI $(REF ndarray, std,experimental,ndslice,slice), and) + $(LI $(REF makeNdarray, std,experimental,ndslice,slice).) + ) $(P Example: Transposing common 2D array using `ndslice`) ----- import std.experimental.ndslice;