aboutsummaryrefslogtreecommitdiff
path: root/html-test/ref/Bug195.html
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-02-24 22:01:11 +0000
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-02-27 03:00:33 +0000
commite5bd27b5edf533054513871dc475a54a8b1bee23 (patch)
tree5f2d9a9c3a0756854b75498c6f430a1a82267fd7 /html-test/ref/Bug195.html
parentdaa0ae5ba1acdee031cd72fc6690fe60a6710c20 (diff)
Change rendering of duplicate record field docs
See Haddock Trac #195. We now change this behaviour to only rendering the documentation attached to the first instance of a duplicate field. Perhaps we could improve this by rendering the first instance that has documentation attached to it but for now, we'll stick with this.
Diffstat (limited to 'html-test/ref/Bug195.html')
-rw-r--r--html-test/ref/Bug195.html179
1 files changed, 179 insertions, 0 deletions
diff --git a/html-test/ref/Bug195.html b/html-test/ref/Bug195.html
new file mode 100644
index 00000000..9ab7c3b0
--- /dev/null
+++ b/html-test/ref/Bug195.html
@@ -0,0 +1,179 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+><head
+ ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
+ /><title
+ >Bug195</title
+ ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean"
+ /><script src="haddock-util.js" type="text/javascript"
+ ></script
+ ><script type="text/javascript"
+ >//<![CDATA[
+window.onload = function () {pageLoad();setSynopsis("mini_Bug195.html");};
+//]]>
+</script
+ ></head
+ ><body
+ ><div id="package-header"
+ ><ul class="links" id="page-menu"
+ ><li
+ ><a href=""
+ >Contents</a
+ ></li
+ ><li
+ ><a href=""
+ >Index</a
+ ></li
+ ></ul
+ ><p class="caption empty"
+ >&nbsp;</p
+ ></div
+ ><div id="content"
+ ><div id="module-header"
+ ><table class="info"
+ ><tr
+ ><th
+ >Safe Haskell</th
+ ><td
+ >Safe-Inferred</td
+ ></tr
+ ></table
+ ><p class="caption"
+ >Bug195</p
+ ></div
+ ><div id="interface"
+ ><h1
+ >Documentation</h1
+ ><div class="top"
+ ><p class="src"
+ ><span class="keyword"
+ >data</span
+ > <a name="t:T" class="def"
+ >T</a
+ ></p
+ ><div class="subs constructors"
+ ><p class="caption"
+ >Constructors</p
+ ><table
+ ><tr
+ ><td class="src"
+ ><a name="v:A" class="def"
+ >A</a
+ ></td
+ ><td class="doc empty"
+ >&nbsp;</td
+ ></tr
+ ><tr
+ ><td colspan="2"
+ ><div class="subs fields"
+ ><p class="caption"
+ >Fields</p
+ ><dl
+ ><dt class="src"
+ ><a name="v:someField" class="def"
+ >someField</a
+ > :: ()</dt
+ ><dd class="doc"
+ ><p
+ >Doc for someField of A</p
+ ></dd
+ ><dt class="src"
+ ><a name="v:someOtherField" class="def"
+ >someOtherField</a
+ > :: ()</dt
+ ><dd class="doc"
+ ><p
+ >Doc for someOtherField of A</p
+ ></dd
+ ></dl
+ ><div class="clear"
+ ></div
+ ></div
+ ></td
+ ></tr
+ ><tr
+ ><td class="src"
+ ><a name="v:B" class="def"
+ >B</a
+ ></td
+ ><td class="doc empty"
+ >&nbsp;</td
+ ></tr
+ ><tr
+ ><td colspan="2"
+ ><div class="subs fields"
+ ><p class="caption"
+ >Fields</p
+ ><dl
+ ><dt class="src"
+ ><a name="v:someField" class="def"
+ >someField</a
+ > :: ()</dt
+ ><dd class="doc"
+ ><p
+ >Doc for someField of A</p
+ ></dd
+ ><dt class="src"
+ ><a name="v:someOtherField" class="def"
+ >someOtherField</a
+ > :: ()</dt
+ ><dd class="doc"
+ ><p
+ >Doc for someOtherField of A</p
+ ></dd
+ ></dl
+ ><div class="clear"
+ ></div
+ ></div
+ ></td
+ ></tr
+ ><tr
+ ><td class="src"
+ ><a name="v:C" class="def"
+ >C</a
+ ></td
+ ><td class="doc empty"
+ >&nbsp;</td
+ ></tr
+ ><tr
+ ><td colspan="2"
+ ><div class="subs fields"
+ ><p class="caption"
+ >Fields</p
+ ><dl
+ ><dt class="src"
+ ><a name="v:someField" class="def"
+ >someField</a
+ > :: ()</dt
+ ><dd class="doc"
+ ><p
+ >Doc for someField of A</p
+ ></dd
+ ><dt class="src"
+ ><a name="v:someOtherField" class="def"
+ >someOtherField</a
+ > :: ()</dt
+ ><dd class="doc"
+ ><p
+ >Doc for someOtherField of A</p
+ ></dd
+ ></dl
+ ><div class="clear"
+ ></div
+ ></div
+ ></td
+ ></tr
+ ></table
+ ></div
+ ></div
+ ></div
+ ></div
+ ><div id="footer"
+ ><p
+ >Produced by <a href=""
+ >Haddock</a
+ > version 2.14.0</p
+ ></div
+ ></body
+ ></html
+>