Fixing 2.6.0's broken documentation references
From: Hans Ulrich Niedermann (linux-kernel_at_n-dimensional.de)
Date: 12/27/03
- Previous message: Edward Tandi: "Re: OSS sound emulation broken between 2.6.0-test2 and test3"
- Next in thread: Andrew Morton: "Re: Fixing 2.6.0's broken documentation references"
- Reply: Andrew Morton: "Re: Fixing 2.6.0's broken documentation references"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- text/plain attachment: automatically adapted references to moved files in Documentation/
- Previous message: Edward Tandi: "Re: OSS sound emulation broken between 2.6.0-test2 and test3"
- Next in thread: Andrew Morton: "Re: Fixing 2.6.0's broken documentation references"
- Reply: Andrew Morton: "Re: Fixing 2.6.0's broken documentation references"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|