Fixing 2.6.0's broken documentation references

From: Hans Ulrich Niedermann (linux-kernel_at_n-dimensional.de)
Date: 12/27/03

  • Next message: Tomas Szepe: "Re: Synaptics problems in -mm1"
    To: linux-kernel@vger.kernel.org
    Date:	Sat, 27 Dec 2003 14:12:52 +0100
    
    

    Hi,

    I've noted that 2.6.0 contains broken references to documentation.

    I got sufficiently annoyed chasing doc files in the wrong place
    that I wrote a script to check the references to documentation
    files.

    Some documentation files have moved (e.g. Documentation/modules.txt
    to Documentation/kbuild/modules.txt). I adapted the references with a
    script. Patch attached.

    I couldn't find a maintainer for the documentation, the -doc lists are
    dead, so I ask here whether such patches stand a chance to be included
    into the main kernel tree.

    If yes, I'd like to do some more work as described below.

    1. How to consistently reference to doc files?

       a) "linux/Documentation/"
          Still used in some places, but seems to be obsolete, as the top
          directory is now called "linux-${VERSION}".

       b) "../../Documentation/foo/bar.txt"
          There are also places where relative pathes are used. This takes
          extra space and "Documentation/" should be well-known anyway.

       c) "Documentation/"
          Most commonly used. Probably the way to go.

    2. Some files have been removed (examples: Configure.help, smp.tex).
       Fixing this requires manual rewrite of
       a) code comments
       b) kbuild help
       c) Documentation files

    3. Now that I have written a script to scan the source tree, I could
       also start checking for broken references to http:// and ftp://
       URLs if desirable.

    Regards,

    Uli

    
    

    -
    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/



  • Next message: Tomas Szepe: "Re: Synaptics problems in -mm1"

    Relevant Pages

    • Re: Annedoti, Anon (Re: A China-Sumer connection)
      ... >> not familiar with any of them wearing fish costumes. ... > I don't have references on hand - and even if I found some by digging thru ... >> they displayed your level of erudition and documentation, ... Sumerian site. ...
      (sci.archaeology)
    • Re: Annedoti, Anon (Re: A China-Sumer connection)
      ... >> not familiar with any of them wearing fish costumes. ... > I don't have references on hand - and even if I found some by digging thru ... >> they displayed your level of erudition and documentation, ... Sumerian site. ...
      (sci.anthropology)
    • Re: Annedoti, Anon (Re: A China-Sumer connection)
      ... >> not familiar with any of them wearing fish costumes. ... > I don't have references on hand - and even if I found some by digging thru ... >> they displayed your level of erudition and documentation, ... Sumerian site. ...
      (sci.lang)
    • Re: String in VB
      ... | Any references to documentation where this is written? ... Yes, Armin told you where: ... |> function be the destination of an assignment? ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Absolute element offsets--exercise in futility
      ... This script is typically deployed on the public ... The style property should available in the browsers they support. ... they should use valid HTML and make assertions about the results.. ... to do with the references once the temporary elements have been ...
      (comp.lang.javascript)