[PATCH] Documentation: add a "git user's manual"

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: Theodore Tso <tytso@...>, <linux@...>, <git@...>
Date: Sunday, November 26, 2006 - 12:01 am

On Sun, Nov 19, 2006 at 12:50:40PM -0500, J. Bruce Fields wrote:

Something like this, as a start?:


Add a manual.txt file which generates a "git user's manual" by including
a bunch of preexisting files under Documentation and declaring each to
be a chapter.

The result is a disorganized mess, because the documentation itself is a
disorganized mess.  This is intended to call attention to that fact
rather than fix it.  Hopefully we can massage it into a better order
over time.  And hopefully we can encourage anyone that adds new
documentation to think about where in the order it should be inserted.

Not built or installed by default for now.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
---
 Documentation/Makefile    |    7 ++++++-
 Documentation/manual.conf |    2 ++
 Documentation/manual.txt  |   30 ++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 1 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index c00f5f6..684dacf 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -85,9 +85,14 @@ clean:
 %.1 %.7 : %.xml
 	xmlto -m callouts.xsl man $<
 
-%.xml : %.txt
+%.html : %.txt
 	asciidoc -b docbook -d manpage -f asciidoc.conf $<
 
+manual.html: manual.txt
+	a2x -f xhtml --no-icons --asciidoc-opts="-d book -f asciidoc.conf" $<
+
+# a2x -f xhtml --ascidoc-opts="-d book -f asciidoc.conf" $<
+
 git.html: git.txt README
 
 glossary.html : glossary.txt sort_glossary.pl
diff --git a/Documentation/manual.conf b/Documentation/manual.conf
new file mode 100644
index 0000000..0d0cfad
--- /dev/null
+++ b/Documentation/manual.conf
@@ -0,0 +1,2 @@
+[titles]
+underlines="__","==","--","~~","^^"
diff --git a/Documentation/manual.txt b/Documentation/manual.txt
new file mode 100644
index 0000000..5512212
--- /dev/null
+++ b/Documentation/manual.txt
@@ -0,0 +1,30 @@
+Git User's manual
+_________________
+
+include::tutorial.txt[]
+
+include::tutorial-2.txt[]
+
+Git design overview
+===================
+
+include::README[]
+
+include::everyday.txt[]
+
+include::cvs-migration.txt[]
+
+include::howto-index.txt[]
+
+include::hooks.txt[]
+
+include::diffcore.txt[]
+
+include::repository-layout.txt[]
+
+include::core-tutorial.txt[]
+
+Glossary of git terms
+=====================
+
+include::glossary.txt[]
-- 
1.4.4.rc1.g83ee9

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [DRAFT] Branching and merging with git, Theodore Tso, (Wed Jan 3, 1:04 pm)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Sun Jan 7, 7:44 pm)
Re: [DRAFT] Branching and merging with git, Theodore Tso, (Sun Jan 7, 8:40 pm)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Sun Jan 7, 8:46 pm)
Re: [DRAFT] Branching and merging with git, Guilhem Bonnefille, (Mon Jan 8, 8:38 am)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Tue Jan 9, 12:17 am)
Re: [DRAFT] Branching and merging with git , Horst H. von Brand, (Sun Jan 7, 9:46 pm)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Sun Jan 7, 10:22 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Sun Jan 7, 8:24 pm)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Sun Jan 7, 10:35 pm)
Re: [DRAFT] Branching and merging with git, Theodore Tso, (Mon Jan 8, 10:03 am)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Mon Jan 8, 10:41 pm)
Re: [DRAFT] Branching and merging with git, Andreas Ericsson, (Tue Jan 9, 4:46 am)
Re: [DRAFT] Branching and merging with git, Theodore Tso, (Tue Jan 9, 12:58 pm)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Wed Jan 10, 12:15 am)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Tue Jan 9, 11:49 am)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Wed Jan 3, 1:08 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Thu Jan 4, 2:11 am)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Fri Nov 17, 1:44 pm)
Re: [DRAFT] Branching and merging with git, Theodore Tso, (Fri Nov 17, 11:32 am)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Fri Nov 17, 2:21 pm)
Re: [DRAFT] Branching and merging with git, J. Bruce Fields, (Sun Nov 19, 1:50 pm)
[PATCH] Documentation: add a "git user's manual", J. Bruce Fields, (Sun Nov 26, 12:01 am)
Git manuals, Petr Baudis, (Sun Nov 19, 1:59 pm)
Re: Git manuals, J. Bruce Fields, (Sun Nov 19, 3:36 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Fri Nov 17, 8:40 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Fri Nov 17, 9:11 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Wed Nov 22, 7:51 am)
Re: [DRAFT 2] Branching and merging with git, J. Bruce Fields, (Sun Dec 3, 9:19 pm)
Re: [DRAFT 2] Branching and merging with git, J. Bruce Fields, (Mon Dec 4, 3:23 am)
Re: [DRAFT 2] Branching and merging with git, Johannes Schindelin, (Mon Dec 4, 6:56 am)
Re: [DRAFT] Branching and merging with git, Sean, (Fri Nov 17, 11:57 am)
Re: [DRAFT] Branching and merging with git, Nguyen Thai Ngoc Duy, (Fri Nov 17, 12:19 pm)
Re: [DRAFT] Branching and merging with git, Sean, (Fri Nov 17, 12:34 pm)
Re: [DRAFT] Branching and merging with git, Marko Macek, (Fri Nov 17, 12:25 pm)
Re: [DRAFT] Branching and merging with git, Petr Baudis, (Fri Nov 17, 12:33 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Thu Nov 16, 9:09 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Fri Nov 17, 1:55 am)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Thu Nov 16, 7:47 pm)
Re: [DRAFT] Branching and merging with git, Junio C Hamano, (Thu Nov 16, 9:31 pm)