From bdbeab522a3a4bc7a1cddeab180bd8a8b99deb2c Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Mon, 24 Oct 2011 23:37:24 +0200 Subject: Some ddoc fixes. --- dmagick/Image.d | 24 ++++++++++++------------ docs/dmagick.c.ddoc | 4 ++-- docs/dmagick.ddoc | 4 +++- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/dmagick/Image.d b/dmagick/Image.d index e3b4570..2526880 100644 --- a/dmagick/Image.d +++ b/dmagick/Image.d @@ -1545,22 +1545,22 @@ class Image * function = The MagickFunction to use. * params = * An array of values to be used by the function. - * $(UL $(LI $(B PolynomialFunction) + * $(LIST $(COMMA $(B PolynomialFunction:) * The Polynomial function takes an arbitrary number of * parameters, these being the coefficients of a polynomial, * in decreasing order of degree. That is, entering * [aₙ, aₙ₋₁, ... a₁, a₀] will invoke a polynomial function * given by: aₙ uⁿ + aₙ₋₁ uⁿ⁻¹ + ··· a₁ u + a₀, where where - * u is pixel's original normalized channel value.) - * $(LI $(B SinusoidFunction) + * u is pixel's original normalized channel value.), + * $(COMMA $(B SinusoidFunction:) * These values are given as one to four parameters, as * follows, [freq, phase, amp, bias] if omitted the default - * values will be used: [1.0, 0.0, 0.5, 0.5].) - * $(LI $(B ArcsinFunction) + * values will be used: [1.0, 0.0, 0.5, 0.5].), + * $(COMMA $(B ArcsinFunction:) * These values are given as one to four parameters, as * follows, [width, center, range, bias] if omitted the - * default values will be used: [1.0, 0.5, 1.0, 0.5].) - * $(LI $(B ArctanFunction) + * default values will be used: [1.0, 0.5, 1.0, 0.5].), + * $(COMMA $(B ArctanFunction:) * These values are given as one to four parameters, as * follows, [slope, center, range, bias] if omitted the * default values will be used: [1.0, 0.5, 1.0, 0.5].)) @@ -1682,10 +1682,10 @@ class Image * channel = The channels to aply the CLUT to. * * See_Also: - * clut which provides color value replacement of the individual - * color channels, usally involving a simplier gray-scale image. - * E.g: gray-scale to color replacement, or modification by a - * histogram mapping. + * $(XREF Image, clut) which provides color value replacement of + * the individual color channels, usally involving a simplier + * gray-scale image. E.g: gray-scale to color replacement, or + * modification by a histogram mapping. */ void haldClut(Image haldImage, ChannelType channel = ChannelType.DefaultChannels) { @@ -2843,7 +2843,7 @@ class Image * each pixel compared to threshold. The result is a high-contrast, * two color image. * - * See_Also: bilevel. + * See_Also: $(XREF Image, bilevel). */ //TODO: deprecated ? void threshold(Quantum value) diff --git a/docs/dmagick.c.ddoc b/docs/dmagick.c.ddoc index 5619974..344c81a 100644 --- a/docs/dmagick.c.ddoc +++ b/docs/dmagick.c.ddoc @@ -3,5 +3,5 @@ CSS = ../style.css NAVLINK = $(LINK2 ../$0.html, dmagick.$0) CNAVLINK = $(LINK2 $0.html, dmagick.c.$0) -XREF = $(LINK2 ../$0.html#$1, dmagick.$0.$1) -CXREF = $(LINK2 $0.html#$1, dmagick.c.$0.$1) +XREF = $(LINK2 ../$1.html#$2, dmagick.$1.$2) +CXREF = $(LINK2 $1.html#$2, dmagick.c.$1.$2) diff --git a/docs/dmagick.ddoc b/docs/dmagick.ddoc index 78cac29..fc305ad 100644 --- a/docs/dmagick.ddoc +++ b/docs/dmagick.ddoc @@ -142,7 +142,7 @@ CSS = style.css NAVLINK = $(LINK2 $0.html, dmagick.$0) CNAVLINK = $(LINK2 c/$0.html, dmagick.c.$0) -XREF = $(LINK2 $0.html#$1, dmagick.$0.$1) +XREF = $(LINK2 $1.html#$2, dmagick.$1.$2) CXREF = $(LINK2 c/$1.html#$2, dmagick.c.$1.$2) COPYRIGHT = $(YEAR) @@ -192,3 +192,5 @@ ROW =