Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932749AbXHIKtw (ORCPT ); Thu, 9 Aug 2007 06:49:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755762AbXHIKtm (ORCPT ); Thu, 9 Aug 2007 06:49:42 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:36295 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754517AbXHIKtm (ORCPT ); Thu, 9 Aug 2007 06:49:42 -0400 Date: Thu, 9 Aug 2007 12:49:41 +0200 (CEST) From: Jan Engelhardt To: Stephen Hemminger cc: linux-kernel@vger.kernel.org Subject: Re: Documentation files in html format? In-Reply-To: <20070809113122.3aa508e4@oldman.hamilton.local> Message-ID: References: <20070809113122.3aa508e4@oldman.hamilton.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1679 Lines: 47 On Aug 9 2007 11:31, 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. > >Advantages of html: > * basic formatting like lists, italics, etc > * easier to integrate into other places and retain formatting > * ability to link documents and to external sources easier > >Downsides: > * can become too formatted and unclear So only use

to

,

, , , ,

    ,
      and
    1. . Perhaps maybe

      with .block{text-align:justify;} because that looks nice in general. > * accessibility and translation issues? Accessibility, well, just run w3m instead of less, and you've got it. Or `w3m -dump xxx.html | less` if you really need it paged. Translation, no I do not think that is a big issue. But people should perhaps be kept on the utf-8 toe since html can specify the encoding. > * even more style issues - two lines between block elements, e.g.

      \n\n

      \n\n
        \n\n.. - tabs used,
          \t
        1. long long text\n\t\twrapped line
        2. \n
        There is not much to it I think. Use of WYSIWYG editors should be prohibited, since some reformat the code in terms of line length, "aol-ize" it (
          to
            ) or replace tags by some synonym. Jan -- - 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/