CHM-Like HTML Interface

Programming, for all ages and all languages.
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

CHM-Like HTML Interface

Post by ~ »

Please take a look at the following HTML interface to provide dinamically a collapsable tree view.

------------------------------------
http://didactos.blogsyte.com/freecode/CHMLike


Don't you think that it could be useful somehow for development documentation, to complement wiki, etc.?
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

I prefer manpages.
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

But that won't be enough to explain all of the OS code, and that's not comparable to a wiki or a compilation of algorithms explanation...
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

Yes it will be enough. For more, you want a proper text formatting package like LaTeX, or troff.
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

I have never seen one of those documents used by newbies, nor online, that can be used portably or that explain everything I need to know to build my own path, even including graphical diagrams and another graphical/formatting resources like the ones of HTML tables, or categorized in an intuitive way...
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

i do not think a man page for a kernel would be any good.
Consider what you want to display when the user calls:

Code: Select all

man kernel.bin
man pages are for describing usage of something, not for documenting an entire kernel's sourcecode.

some form of generated documentation would be
a) more understandable and readable
b) easier to browse

i dont do manpages for my kernel, but rather NaturalDocs
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

try "man syscall" or "man cfunc". This can easily be applied to kernels (maybe section -1 for your kernel stuff?)
Tyler
Member
Member
Posts: 514
Joined: Tue Nov 07, 2006 7:37 am
Location: York, England

Post by Tyler »

ehird wrote:I prefer manpages.
i don't see how outdated manpages compare in anyway to a completely unrelated online documentation system like this...
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

ehird wrote:try "man syscall" or "man cfunc". This can easily be applied to kernels (maybe section -1 for your kernel stuff?)
Please at least give an example of how it could give an extremely global view and per-gear view, and exact code relations, to a mid-level GUI... with diagrams, and everything you could expect to find in a decent, professional development book (or e-book if you like)...

Anyway, remember that it wouldn't be very agreeable to the huge quantity of newbies and new-generation individuals that join the OS/Programming community.
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

A development book should be seperate from references, and it should be typeset in LaTeX or similar.
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

We aren't talking here about a pretty traditional (e-)book, but a more dynamical one, and it can't be denied that more simplicity is always appreciated in complex subjects...
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

Simplicity is manpages. There is no such thing as a dynamic book. Just make manpages for a definitive reference, and write a book manually with (La)TeX and use latex2html if you really want it to be web-based.
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

It would lack a source code relation that results to be effective more than an attempt to say "it takes you here and here and here" with 1000's of branches.

I guess I will have to choose some project (Menuet?) and demonstrate what I mean with this kind of documentation. I don't seem to be fully understood here...
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

They invented that a while ago, you know. It's called cross-references.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

I prefer manpages.
Yes it will be enough. For more, you want a proper text formatting package like LaTeX, or troff.
A development book should be seperate from references, and it should be typeset in LaTeX or similar.
Simplicity is manpages. There is no such thing as a dynamic book. Just make manpages for a definitive reference, and write a book manually with (La)TeX and use latex2html if you really want it to be web-based.
That's three wasted posts, and IMNSHO its getting annoying.

Simplicity does not imply effectiveness or feasability. The web has become popular not without reason. A little bit more work can work wonders.

----

There are many viable options for creating documentation, ranging from M$ Notepad to a diskfull of open source software. The once I like have a predictable navigation structure such as the tree ~ gave, so yes that's a viable solution.

@ ~: maybe your imaginary scheme is somewhere down here. If you comment on that we might get a better idea about what you want:
http://wiki.openttd.com/index.php/Development:Main_Page
http://www.postgresql.org/docs/8.2/inte ... index.html
http://www.tortall.net/projects/yasm/re ... files.html
http://java.sun.com/j2se/1.4.2/docs/api/
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply