Thanks for the feedback. The original docs can be found here <br>( <a href="http://hackage.haskell.org/package/xhtml-3000.2.0.1">http://hackage.haskell.org/package/xhtml-3000.2.0.1</a> ). The <br>changes I added at this point are exclusively in the main description <br>
of the Text.XHtml, Text.XHtml.Table, Text.XHtml.Strict, <br>Text.XHtml.Transitional and Text.XHtml.Frameset modules. For the <br>Strict, Transitional, and Frameset modules the only changes from the <br>original is a blurb about checking the main Text.XHtml package for <br>
detailed documentation.<br><br>As for <a href="http://tutorial.happstack.com/" target="_blank">tutorial.happstack.com</a>, no, I don&#39;t think that&#39;s an example of a <br>&quot;bad tutorial&quot;, nor was I complaining that the tutorials available<br>
for Haskell are in general bad. My complaint is more that the <br>tutorials can only really be responsible for covering so much<br>material at which point the core documentation (either the <br>auto-generated stuff on hackage, or some other source that&#39;s mostly<br>
non-existent right now) needs to take up the slack.<br><br>Text.XHtml is relatively simple, so I was able to provide the kind of<br>documentation it needs directly in the haddock, but for larger <br>non-trivial libraries we really need some kind of standardized<br>
location for documentation. Ideally wherever that is should also be<br>intergrated into hackage somehow, as hackage is where most newbies<br>are going to go looking for packages, and the documentation of said<br>packages.<br>
<br>That being said, there&#39;s currently discussion going on in the other<br>mailing lists about modifications to Hackage to add better support<br>for documentation in general, and user contributed documentation<br>in particular, so maybe it&#39;s just a matter of time.<br>
<br clear="all">-R. Kyle Murphy<br>--<br>Curiosity was framed, Ignorance killed the cat.<br>
<br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 14:51, Thomas Hartman <span dir="ltr">&lt;<a href="mailto:thomashartman1@googlemail.com">thomashartman1@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Kyle,<br>
<br>
  On the whole I am always thrilled when someone works to improve the<br>
haskell docu, particularly in the web space.<br>
<br>
  I am the author of <a href="http://tutorial.happstack.com" target="_blank">tutorial.happstack.com</a>, which I admit might be an<br>
example of the type of &quot;bad&quot; tutorials you write of, which<br>
nevertheless fill a necessary gap during documentation coallescence.<br>
<br>
  The reason I didn&#39;t give you any feedback is there wasn&#39;t an<br>
easy/fast way for me to see what changes you had made, other than<br>
flipping back and forth from your docu to the original docu, and I&#39;m<br>
not even sure where the existing docu is -- hackage I suppose.<br>
<br>
  If you had used github or (plug) patch-tag, you might have gotten<br>
more feedback, or even if you had just (re)stated the type of changes<br>
you had made.<br>
<br>
  Anyway thank you for working to improve the state of haskell on web<br>
docu, and of course, contribute back to the xhtml maintainers.<br>
<br>
  Cheers, thomas.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Apr 13, 2010 at 6:56 AM, Kyle Murphy &lt;<a href="mailto:orclev@gmail.com">orclev@gmail.com</a>&gt; wrote:<br>
&gt; I haven&#39;t received any response on this at all so far, which I&#39;m not sure<br>
&gt; how to interpret. Does everyone think I should submit the updated<br>
&gt; documentation to the maintainer of the xhtml package, or is there some issue<br>
&gt; someone would have with seeing these changes in the official distribution?<br>
&gt; I&#39;m also not sure I&#39;m completely done updating the docs, I&#39;d like to see<br>
&gt; some better documentation on the actual functions themselves as well, and<br>
&gt; I&#39;ll probably do that before submitting it as a patch.<br>
&gt;<br>
&gt; -R. Kyle Murphy<br>
&gt; --<br>
&gt; Curiosity was framed, Ignorance killed the cat.<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Apr 10, 2010 at 03:16, Kyle Murphy &lt;<a href="mailto:orclev@gmail.com">orclev@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I managed to find some time to put together an example update of the<br>
&gt;&gt; documentation for xhtml package with the sorts of changes I&#39;d like to see<br>
&gt;&gt; applied to as much of hackage as possible. You can find the updated haddock<br>
&gt;&gt; at <a href="http://tenletters.org/haddock/index.html" target="_blank">http://tenletters.org/haddock/index.html</a><br>
&gt;&gt;<br>
&gt;&gt; Depending on the feedback I get on this updated documentation I might try<br>
&gt;&gt; to get in touch with the xhtml maintainer and have my changes merged in to<br>
&gt;&gt; the official repository. Let me know what you guys think.<br>
&gt;&gt;<br>
&gt;&gt; -R. Kyle Murphy<br>
&gt;&gt; --<br>
&gt;&gt; Curiosity was framed, Ignorance killed the cat.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Apr 9, 2010 at 15:02, Kyle Murphy &lt;<a href="mailto:orclev@gmail.com">orclev@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That blog post was excellent and fairly well captures the spirit of what<br>
&gt;&gt;&gt; I was getting at, although I do disagree somewhat about the auto-generated<br>
&gt;&gt;&gt; docs. I don&#39;t have any problem with auto-generated docs in and of<br>
&gt;&gt;&gt; themselves, assuming that you also insert into that documentation the sort<br>
&gt;&gt;&gt; of details discussed in the &quot;topic guides&quot;. A great example of this is most<br>
&gt;&gt;&gt; of the POD used in Perl modules, where at least the first few paragraphs of<br>
&gt;&gt;&gt; documentation are typically devoted to essentially being a &quot;topic guide&quot; for<br>
&gt;&gt;&gt; that module. I think what she was really complaining about in that post is<br>
&gt;&gt;&gt; exactly the situation we have in hackage currently where there is for all<br>
&gt;&gt;&gt; intents and purpose absolutely no documentation provided for the vast<br>
&gt;&gt;&gt; majority of libraries beyond the automatically generated signatures and the<br>
&gt;&gt;&gt; odd sentence or two.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Something I&#39;d like to see become common in haddock is for instance, a<br>
&gt;&gt;&gt; good general description, with references to sub-modules in the main module<br>
&gt;&gt;&gt; of a package. Each sub-module would then function as a topic guide for the<br>
&gt;&gt;&gt; features of that module, with the specific API details contained in the<br>
&gt;&gt;&gt; function descriptions. If I have some time this weekend maybe I&#39;ll pull down<br>
&gt;&gt;&gt; the source for Text.XHTML, and try to update its documentation to provide an<br>
&gt;&gt;&gt; example of what I&#39;m getting at.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -R. Kyle Murphy<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Curiosity was framed, Ignorance killed the cat.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Fri, Apr 9, 2010 at 14:36, Gour &lt;<a href="mailto:gour@gour-nitai.com">gour@gour-nitai.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Fri, 9 Apr 2010 14:07:28 -0400<br>
&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt; &quot;Kyle&quot; == Kyle Murphy wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Kyle&gt; The next highest level of documentation, what&#39;s severely lacking<br>
&gt;&gt;&gt;&gt; Kyle&gt; in the Haskell community in general, and the web development<br>
&gt;&gt;&gt;&gt; Kyle&gt; community in particular, is the in depth documentation for the<br>
&gt;&gt;&gt;&gt; Kyle&gt; libraries/frameworks. These documents aren&#39;t quite tutorials,<br>
&gt;&gt;&gt;&gt; Kyle&gt; but they go beyond just telling you the minimal information you<br>
&gt;&gt;&gt;&gt; Kyle&gt; need to use a function. This sort of document would typically<br>
&gt;&gt;&gt;&gt; Kyle&gt; have a section for each of the major use cases of your<br>
&gt;&gt;&gt;&gt; Kyle&gt; framework/library, and possibly a few brief code snippets<br>
&gt;&gt;&gt;&gt; Kyle&gt; showing how you go about doing particular things.  For instance,<br>
&gt;&gt;&gt;&gt; Kyle&gt; in the Text.XHTML package, this document would most likely list<br>
&gt;&gt;&gt;&gt; Kyle&gt; the various functions for generating html elements like br, as<br>
&gt;&gt;&gt;&gt; Kyle&gt; well as have a section talking about the attribute op (!), the<br>
&gt;&gt;&gt;&gt; Kyle&gt; Html concatination op (+++), and the Html nesting op (&lt;&lt;), and<br>
&gt;&gt;&gt;&gt; Kyle&gt; provide examples of how to construct a few example pages. It&#39;s<br>
&gt;&gt;&gt;&gt; Kyle&gt; this level of documentation that&#39;s really missing, and where<br>
&gt;&gt;&gt;&gt; Kyle&gt; most people would head to once they finish following along on<br>
&gt;&gt;&gt;&gt; Kyle&gt; some tutorial.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; If we consider that Django is nicely documented and can be used as<br>
&gt;&gt;&gt;&gt; example, do you think about stuff called &#39;topic guides&#39; listed at<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://docs.djangoproject.com/en/dev/intro/whatsnext/#intro-whatsnext" target="_blank">http://docs.djangoproject.com/en/dev/intro/whatsnext/#intro-whatsnext</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; i.e. something in between tutorial and API reference?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Here is blog post about it:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://jacobian.org/writing/great-documentation/what-to-write/" target="_blank">http://jacobian.org/writing/great-documentation/what-to-write/</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Kyle&gt; As a final thought, haddock itself might even be leveraged to<br>
&gt;&gt;&gt;&gt; Kyle&gt; provide this higher level documentation, it certainly has the<br>
&gt;&gt;&gt;&gt; Kyle&gt; capability of doing so, it just generally isn&#39;t used in that way.<br>
&gt;&gt;&gt;&gt; Kyle&gt; The brief summary most people put at the top of the generated<br>
&gt;&gt;&gt;&gt; Kyle&gt; haddock, which usually consists of a one or two sentence<br>
&gt;&gt;&gt;&gt; Kyle&gt; description of what the library provides, could instead be used<br>
&gt;&gt;&gt;&gt; Kyle&gt; to provide details of all the use cases, and links to the<br>
&gt;&gt;&gt;&gt; Kyle&gt; appropiate pieces of documentation.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Long ago I was suggesting on &#39;cafe&#39; that it would be nice if the<br>
&gt;&gt;&gt;&gt; haddock documentation would have some &#39;examples of usage&#39;, but it<br>
&gt;&gt;&gt;&gt; looks it is too much and we are still far from it...<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Sincerely,<br>
&gt;&gt;&gt;&gt; Gour<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6<br>
&gt;&gt;&gt;&gt; ----------------------------------------------------------------<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; web-devel mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; web-devel mailing list<br>
&gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Need somewhere to put your code? <a href="http://patch-tag.com" target="_blank">http://patch-tag.com</a><br>
Want to build a webapp? <a href="http://happstack.com" target="_blank">http://happstack.com</a><br>
</font></blockquote></div><br>