Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765979AbXHLDGw (ORCPT ); Sat, 11 Aug 2007 23:06:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764895AbXHLDGa (ORCPT ); Sat, 11 Aug 2007 23:06:30 -0400 Received: from xenotime.net ([66.160.160.81]:60070 "HELO xenotime.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1764811AbXHLDG3 (ORCPT ); Sat, 11 Aug 2007 23:06:29 -0400 Date: Sat, 11 Aug 2007 20:12:24 -0700 From: Randy Dunlap To: Willy Tarreau Cc: Stephen Hemminger , linux-kernel@vger.kernel.org Subject: Re: Documentation files in html format? Message-Id: <20070811201224.47e6e283.rdunlap@xenotime.net> In-Reply-To: <20070810201704.GI6002@1wt.eu> References: <20070809113122.3aa508e4@oldman.hamilton.local> <20070810201704.GI6002@1wt.eu> Organization: YPO4 X-Mailer: Sylpheed 2.4.2 (GTK+ 2.8.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2432 Lines: 55 On Fri, 10 Aug 2007 22:17:04 +0200 Willy Tarreau wrote: > Hi Stephen, > > On Thu, Aug 09, 2007 at 11:31:22AM +0100, Stephen Hemminger wrote: > > Since the network device documentation needs a rewrite, I was thinking > > of using basic html format instead of just plain text. But since this would > > be starting an new precedent for kernel documentation, some it seemed > > like a worthwhile topic for discussion. > > I've read pro-plain text arguments, so I'll not repeat them. I also see > another advantage to plain text : it's very easy to draw ascii-art > diagrams of anything. It only takes a few minutes, is always inline > and readable with any tool. Look at the bonding doc I wrote and updated > in 2000, people have updated or duplicated some of the diagrams when > they have added features. Something they would definitely not have done > if it had required some strange tool. > > Also, the advantage of plain text is that it stays compatible with > everything though the years. Had I used some random tool in 2000 for > this, I'm not sure the tool would still exist right now. Look at RFCs. [resend, sorry about duplicates] This is getting dangerously close to an XML discussion. ;) ISTM (from reading the IETF mailing list) that the recommended tools for generating plaintext RFCs are either a) xml2rfc (from http://tools.ietf.org/inventory/author-tools) or b) an MS Word plugin/macro/whatever. There is also an xml RFC to pdf/ps converter here: http://www.arkko.com/tools/xml2pdfrfc.html > Nothing fancy, just readable. Even the TCP FSM in rfc793 from 26 years > ago is readable, understandable, and updatable by anybody (though it's > a little mit messy). And it's somewhat an extreme case ;-) > > I'd prefer that you define some writing conventions for plain-text > documents that anyone should try follow, starting with the 80-cols > limit to make Davem happy. I think that many of us can help define > such a "standard" indicating how to underline subtitles, how to > enumerate a list, how to avoid using tabs, how to write boxes and > arrows in their diagrams, etc... --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/