From 914411d8ab004e1c67b9307a3d94cb3fc132d763 Mon Sep 17 00:00:00 2001
From: Mike Wey
Date: Sun, 11 Sep 2011 21:25:45 +0200
Subject: Improve the generated documentation.
---
docs/dmagick.ddoc | 92 ++++++++++++++++++++++++
docs/style.css | 210 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 302 insertions(+)
create mode 100644 docs/dmagick.ddoc
create mode 100644 docs/style.css
(limited to 'docs')
diff --git a/docs/dmagick.ddoc b/docs/dmagick.ddoc
new file mode 100644
index 0000000..3df4723
--- /dev/null
+++ b/docs/dmagick.ddoc
@@ -0,0 +1,92 @@
+DDOC =
+
+
+
+
+ $(TITLE)
+
+
+
+
+ $(NAVIGATION)
+
+
+ Last update $(DATETIME)
+
+
$(TITLE)
+
+ $(BODY)
+
+
+
+ Page generated by
+ $(LINK2 http://www.digitalmars.com/d/2.0/ddoc.html, Ddoc).
+ Copyright © $(COPYRIGHT)
+
+
+
+
+NAVIGATION =
+dmagick
+
+$(LIST
+ $(LINK2 Color.html, dmagick.Color),
+ $(LINK2 ColorCMYK.html, dmagick.ColorCMYK),
+ $(LINK2 ColorGray.html, dmagick.ColorGray),
+ $(LINK2 ColorHSL.html, dmagick.ColorHSL),
+ $(LINK2 ColorRGB.html, dmagick.ColorRGB),
+ $(LINK2 ColorYUV.html, dmagick.ColorYUV),
+ $(LINK2 DrawingContext.html, dmagick.DrawingContext),
+ $(LINK2 Exception.html, dmagick.Exception),
+ $(LINK2 Geometry.html, dmagick.Geometry),
+ $(LINK2 Image.html, dmagick.Image),
+ $(LINK2 ImageView.html, dmagick.ImageView),
+ $(LINK2 Options.html, dmagick.Options),
+ $(LINK2 Utils.html, dmagick.Utils)
+)
+
+DDOC_SUMMARY = $(P $0)
+DDOC_DESCRIPTION = $(P $0)
+DDOC_AUTHORS = $(P $(B Authors:)$(BR)$0)
+DDOC_BUGS = $(P $(RED BUGS:)$(BR)$0)
+DDOC_COPYRIGHT = $(P $(B Copyright:)$(BR)$0)
+DDOC_DATE = $(P $(B Date:)$(BR)$0)
+DDOC_DEPRECATED = $(P $(RED Deprecated:)$(BR)$0)
+DDOC_EXAMPLES = $(P $(B Examples:)$(BR)$0)
+DDOC_HISTORY = $(P $(B History:)$(BR)$0)
+DDOC_LICENSE = $(P $(B License:)$(BR)$0)
+DDOC_RETURNS = $(P $(B Returns:)$(BR)$0)
+DDOC_SEE_ALSO = $(P $(B See Also:)$(BR)$0)
+DDOC_STANDARDS = $(P $(B Standards:)$(BR)$0)
+DDOC_THROWS = $(P $(B Throws:)$(BR)$0)
+DDOC_VERSION = $(P $(B Version:)$(BR)$0)
+DDOC_SECTION_H = $(P $(B $0))
+DDOC_SECTION = $(P $0)
+DDOC_PARAMS = $(P $(B Parameters:))
+
+RED = $0
+GREEN = $0
+BLUE = $0
+YELLOW = $0
+BLACK = $0
+WHITE = $0
+
+D_COMMENT =
+D_STRING = $0
+D_KEYWORD = $0
+D_PSYMBOL = $0
+D_PARAM = $0
+
+D = $0
+
+DDOC_PSYMBOL = $0
+DDOC_DECL = $0
+
+TABLE =
+TH = $1 | $(TH $+)
+HEADERS = $(TH $1, $+)
+TD = $1 | $(TD $+)
+ROW = $(TD $1, $+)
+
+LIST = $(UL $(LI $1, $+))
+LI = $1$(LI $+)
diff --git a/docs/style.css b/docs/style.css
new file mode 100644
index 0000000..21eecfc
--- /dev/null
+++ b/docs/style.css
@@ -0,0 +1,210 @@
+body
+{
+ margin: 0;
+ padding: 0;
+ border: 0;
+ color: black;
+ background-color: #1f252b;
+ font-size: 100%;
+ font-family: Verdana, "Deja Vu", "Bitstream Vera Sans", sans-serif;
+}
+
+div#header
+{
+ padding: 1em;
+}
+
+div#navigation
+{
+ font-size: 0.875em;
+ float: left;
+ padding: 0 1.5em;
+}
+
+div#navigation h2
+{
+ font-family: Verdana, "Deja Vu", "Bitstream Vera Sans", sans-serif;
+ font-size: 1.35em;
+ color: #ccc;
+ margin: 0;
+}
+
+div#navigation ul
+{
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+
+div#navigation li
+{
+ margin: 0 0 0 0.8em;
+ padding: 0;
+}
+
+#navigation a
+{
+ display: block;
+ color: #ccc;
+ text-decoration: none;
+ padding: 0.1em 0;
+ border-bottom: 1px dotted #494949;
+}
+
+#navigation a:hover
+{
+ color: #eee;
+}
+
+#navigation a.active
+{
+ color: white;
+ border-color: white;
+}
+
+div#content
+{
+ min-height: 440px;
+ max-width: 76em;
+ margin-left: 18em;
+ margin-right: 1.6em;
+ padding: 1.6em;
+ padding-top: 1.3em;
+ border: 0.6em solid #ccd5d5;
+ background-color: #f6f6f6;
+ font-size: 0.875em;
+ line-height: 1.4em;
+}
+
+div#content li
+{
+ padding-bottom: .7ex;
+}
+
+div#copyright
+{
+ clear: both;
+ margin-top: 2em;
+ padding: 1em 2em;
+ background-color: #303333;
+ color: #ccc;
+ font-size: 0.75em;
+ text-align: center;
+}
+
+div#copyright a
+{
+ color: #ccc;
+}
+
+#lastupdate
+{
+ float: right;
+ margin: -1.5em;
+ margin-bottom: 0;
+ text-align: right;
+ font-size: 0.8em;
+ font-style: italic;
+ color: #666;
+}
+
+h1, h2, h3, h4, h5, h6
+{
+ font-family: Georgia, "Times New Roman", Times, serif;
+ font-weight: normal;
+ color: #633;
+ line-height: normal;
+ text-align: left;
+}
+
+h1
+{
+ margin-top: 0;
+ font-size: 2.5em;
+}
+
+h2
+{
+ font-size: 1.7em;
+}
+
+h3
+{
+ font-size: 1.35em;
+}
+
+h4
+{
+ font-size: 1.15em;
+ font-style: italic;
+ margin-bottom: 0;
+}
+
+pre
+{
+ background: white;
+ padding: 1ex;
+ margin: 1em 0 1em 3em;
+ font-family: monospace;
+ font-size: 1.2em;
+ line-height: normal;
+ border: 1px solid #ccc;
+ width: auto;
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
+dd
+{
+ padding: 1ex;
+ margin-left: 3em;
+ margin-bottom: 1em;
+}
+
+hr
+{
+ margin: 2em 0;
+}
+
+a
+{
+ color: #006;
+}
+
+a:visited
+{
+ color: #606;
+}
+
+.d_inlinecode
+{
+ font-family: monospace;
+ font-weight: bold;
+}
+
+.d_decl {
+ font-weight: bold;
+ background-color: #E4E9EF;
+ border-bottom: solid 2px #336600;
+ padding: 2px 0px 2px 2px;
+}
+
+/* Elements of D source code text */
+.d_comment { color: green; }
+.d_string { color: red; }
+.d_keyword { color: blue; }
+.d_psymbol { text-decoration: underline; }
+.d_param { font-style: italic; }
+
+/* Focal symbol that is being documented */
+.ddoc_psymbol { color: #336600; }
+
+.red { color: red; }
+.green { color: green; }
+.blue { color: blue; }
+.yellow { color: yellow; }
+.black { color: black; }
+.white { color: white; }
--
cgit v1.2.3