From: Mats Petersson Subject: Re: [Xen-devel] RE: Push for Better Documentation Date: Thu, 19 Jul 2007 12:43:36 +0100 Message-ID: <469f4e93.1c89420a.0d4c.51d2@mx.google.com> References: <20070710011615.GA25845@sccd.ctc.edu> <03ce01c7c2ff$15d4b8e0$6d58a8c0@private.praha.bcpraha.com> <20070711003248.GA2640@sccd.ctc.edu> <04d601c7c3a4$d2d4e910$6d58a8c0@private.praha.bcpraha.com> <20070718202540.GK30252@sccd.ctc.edu> <06ed01c7c9f7$4f08cb70$4e1db00a@private.praha.bcpraha.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Return-path: In-Reply-To: <06ed01c7c9f7$4f08cb70$4e1db00a@private.praha.bcpraha.com> References: <20070710011615.GA25845@sccd.ctc.edu> <03ce01c7c2ff$15d4b8e0$6d58a8c0@private.praha.bcpraha.com> <20070711003248.GA2640@sccd.ctc.edu> <04d601c7c3a4$d2d4e910$6d58a8c0@private.praha.bcpraha.com> <20070718202540.GK30252@sccd.ctc.edu> <06ed01c7c9f7$4f08cb70$4e1db00a@private.praha.bcpraha.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Artur Linhart - Linux communication , 'Dylan Martin' Cc: 'Tom Horsley' , xen-devel@lists.xensource.com, xen-users@lists.xensource.com, 'Lev Lafayette' , 'Christian Horn' List-Id: xen-devel@lists.xenproject.org At 12:23 19/07/2007, Artur Linhart - Linux communication wrote: >OK, thank Zou for information. Do You know something about who is >responsible for the documentation creation etc, or where the developen >"pod"-s are stored and managed (some version control system, etc? I would be >good to work on documentation of something, what is not yet in processing by >somebody - or work on the themes together... The docs are part of the Xen "source code", so if you grab the Xen source tarball, or install "mercurial" (hg)[1] and do "hg clone http://xenbits.xensource.com/xen-unstable". Using mercurial is the best way, since that means that you can: 1) Generate patches from your changes without keeping a second copy of everything you may want to change [2]. 2) Update your current source-directory to the latest unstable sources with "hg pull && hg update" 3) Roll back your changes if you decide that you haven't "done the right changes" [e.g. when you do "too many fingers on keyboard" in the editor and end up with half the file missing and no backup file]. You can even keep your own local set of changes and thus have a history of what you've done, and then export all changes as one patch-set. [1] Here's the first place google found for downloading mercurial: http://linux.softpedia.com/get/Programming/Version-Control/Mercurial-9329.shtml [2] Of course there is a second copy, but it's automatically maintained by mercurial rather than by manually. The drawback here is that since mercurial keeps ALL the changes, the "second copy" is quite a bit larger than the whole Xen source-tree - but it is compressed, so not that bad, and in a place where disk-space is counted in tens or hundreds of gigabytes, it's not a real problem. -- Mats > With regards > > archie > >-----Original Message----- >From: Dylan Martin [mailto:dmartin@sccd.ctc.edu] >Sent: Wednesday, July 18, 2007 10:26 PM >To: Artur Linhart - Linux communication >Cc: 'Lev Lafayette'; 'Tom Horsley'; 'Christian Horn'; >xen-users@lists.xensource.com >Subject: Re: [Xen-users] Push for Better Documentation > > > I would help with it, but I never wrote some manual pages and have zero > > know-how about it... Right now I do not know if there are some tools for > > writing of man pages. > >Okay, I said I'd get back to you about this, but I didn't think I'd >take this long... ;) > >The source for the xen man pages is in pod format. That's Plain Old >Documentation. It's a really simple format used for perl. If you're >on a unixy box, you can type 'man perlpod' to read all about it. >There are different commands to convert pod code to >man,html,text,latex etc... pod2man, pod2html etc.. > >If you look in the docs dir in the source tarball, you'll see >dirs called man, man1, and man5. The 'man' dir contains the pod >files. Edit those and then run 'make' from inside the 'docs' dir. >The new man files will show up in man1 and man5. To view man files >that aren't in the system man dirs, you can run "nroff -man filename | >less" > >Have fun! > >-Dylan > > > Where did You get even the old manual pages? In the binary tarball there >is > > the directory /usr/share/man with the subdirs man1 and man8, but there are > > > Only 3 fragments (for example nothing about xm) and that's it... > >It looks like Fedora 7 doesn't even bother to include the crusty old >man files. Can't blame them for that... > > >__________ Informace od NOD32 2405 (20070718) __________ > >Tato zprava byla proverena antivirovym systemem NOD32. >http://www.nod32.cz > > > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel