From: Christian Couder <chriscool@tuxfamily.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jeff King <peff@peff.net>, Jakub Narebski <jnareb@gmail.com>,
"J. Bruce Fields" <bfields@fieldses.org>,
"Manoj Srivastava" <srivasta@ieee.org>,
"Ping Yin" <pkufranky@gmail.com>,
git@vger.kernel.org
Subject: Documentation status (was Re: [PATCH 3/3] Documentation: convert tutorials to man pages)
Date: Mon, 5 May 2008 05:48:58 +0200 [thread overview]
Message-ID: <200805050548.58905.chriscool@tuxfamily.org> (raw)
In-Reply-To: <7vfxszuvs6.fsf@gitster.siamese.dyndns.org>
Le samedi 3 mai 2008, Junio C Hamano a écrit :
> Christian Couder <chriscool@tuxfamily.org> writes:
> > About man page sections, Perl is consistent because every thing is in
> > section 1.
>
> I do not think it is a good example to follow, though.
I agree.
> > Now for git we already have git commands in section 1 and some
> > other documentation (gitattributes, gitignore, gitmodules) in section 5
> > and "git" in section 7. Do we want to keep "git" alone in section 7 and
> > put tutorials in section 1 ? Or put everything in section 1 ?
>
> My preference is to move git(7) to git(1) because it is describing a
> command at the end-user level (distros are much better than us to come up
> with a way to deal with conflict resolution between us and the other
> git), keep file format description in section 5 (that's where they belong
> to).
Ok, I will do that.
Then what about tutorials (that I put in section 7) ?
After the patch I just sent and if I move git(7) to git(1) we will have:
Section 1:
git, gitk, git-COMMAND
Section 5:
gitattributes gitignore gitmodules githooks gitdiffcore gitrepository-layout
Section 7:
gitcli gittutorial gittutorial-2 gitcvs-migration giteveryday
gitcore-tutorial gitglossary
The logic is:
- the commands are in section 1 with a name git-COMMAND
- the documents about files and file formats are in section 5 with a name
gitSTUFF so that it is different from commands
- the tutorials and manual stuff are in section 7 with a name gitSTUFF so
that it is different from commands
Jakub suggests to use "git-core-tutorial" instead of "gitcore-tutorial"
and "git-repository-layout" instead of "gitrepository-layout" but
that would break the gitSTUFF logic for section 5 and 7, except if we decide
to name everything git-STUFF in these sections too.
Naming everything "git-STUFF" also makes "git help STUFF" works with no code
change, and is perhaps more readable.
Then there are also the following documents that I may not convert to man
pages:
- howto-index:
This file lists and describes the documents in the "howto" directory. There
are 11 documents in this directory but only 2 of them are converted by the
Makefile into HTML. And those that are converted have their own formating
rules according to the Makefile. So in the current state there is no point
to convert the "howto-index".
- user-manual:
It also has its own formatting rules. But it may be usefull to convert it
though it will be big (the .txt has 4550 lines).
- git-tools:
It lists and describe the git related tools, but seems a bit outdated and
does not follow the gitSTUFF convention.
- technical/*
Only the api-* documents here are converted to HTML and many of them are
stubs. They have their own formating rules too.
Thanks,
Christian.
next prev parent reply other threads:[~2008-05-05 3:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 3:30 [PATCH 3/3] Documentation: convert tutorials to man pages Christian Couder
2008-05-02 9:55 ` Jakub Narebski
2008-05-02 12:49 ` Jeff King
2008-05-02 14:31 ` J. Bruce Fields
2008-05-03 4:04 ` Christian Couder
2008-05-03 17:44 ` Junio C Hamano
2008-05-05 3:48 ` Christian Couder [this message]
2008-05-05 4:27 ` Documentation status Junio C Hamano
2008-05-05 7:34 ` Jakub Narebski
2008-05-06 3:11 ` Christian Couder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200805050548.58905.chriscool@tuxfamily.org \
--to=chriscool@tuxfamily.org \
--cc=bfields@fieldses.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jnareb@gmail.com \
--cc=peff@peff.net \
--cc=pkufranky@gmail.com \
--cc=srivasta@ieee.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).