Skip to contentSkip to conversation

Patch to make html docs properly

Kernel-janitors Don Scorgie 2 participants 2 messages Mar 16, 2004 – Mar 17, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

hi,

When making htmldocs, the front file (*.html in the Documantation/ DocBook directory) sends the user to the wrong file (as far as I can tell). This little patch fixes this.

Hope this is ok. If this is, I hope to fix up some of the API references...

Thanks
Don

diff -Nur linux-2.6.4/Documentation/DocBook/Makefile linux-2.6.4.bak/ Documentation/DocBook/Makefile
--- linux-2.6.4/Documentation/DocBook/Makefile 2004-03-16 20:29:59.625122885 +0000
+++ linux-2.6.4.bak/Documentation/DocBook/Makefile 2004-03-16
20:26:21.503805414 +0000
@@ -124,7 +124,7 @@

quiet_cmd_db2html = DB2HTML $@

       cmd_db2html = db2html -o $(patsubst %.html,%,$@) $< &&

\
- echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.
html"> \
+ echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/book1.

html"> \
          Goto $(patsubst %.html,%,$(notdir $@))</a><p>' > $@

%.html: %.sgml

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

On Tue, 16 Mar 2004 20:41:08 +0000 Don Scorgie wrote:

| hi,
| 
| When making htmldocs, the front file (*.html in the Documantation/
| DocBook directory) sends the user to the wrong file (as far as I can
| tell).  This little patch fixes this.
| 
| Hope this is ok.  If this is, I hope to fix up some of the API
| references...
| 
| 
| diff -Nur linux-2.6.4/Documentation/DocBook/Makefile linux-2.6.4.bak/
| Documentation/DocBook/Makefile
| --- linux-2.6.4/Documentation/DocBook/Makefile  2004-03-16
| 20:29:59.625122885 +0000
| +++ linux-2.6.4.bak/Documentation/DocBook/Makefile      2004-03-16
| 20:26:21.503805414 +0000
| @@ -124,7 +124,7 @@
|   
|  quiet_cmd_db2html = DB2HTML $@
|        cmd_db2html = db2html -o $(patsubst %.html,%,$@) $< &&
| \
| -               echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.
| html"> \
| +               echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/book1.
| html"> \

That's already fixed in 2.6.5-rc1.

And one of us has a mailer that breaks lines at very bad places....

But send more API fixups if you have them. We'll get your^W the mail client fixed up....

--
~Randy
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors