Move ./technical/api-command.txt to ./howto/new-command.txt
authorThomas Ackermann <th.acker@arcor.de>
Fri, 21 Dec 2012 18:05:28 +0000 (19:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Dec 2012 18:35:53 +0000 (10:35 -0800)
The contents of this document does not describe any particular API, but
is more about the way to add a new command, which belongs to the "How To"
section of the documentation suite.

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile
Documentation/howto/new-command.txt [moved from Documentation/technical/api-command.txt with 93% similarity]

index 361550422a6e180f5614305985cfd12aa964ffe0..5243222f136b6dff8a4ca22a4c5e78b0f72bac90 100644 (file)
@@ -21,6 +21,7 @@ ARTICLES += git-tools
 ARTICLES += git-bisect-lk2009
 # with their own formatting rules.
 SP_ARTICLES = user-manual
+SP_ARTICLES += howto/new-command
 SP_ARTICLES += howto/revert-branch-rebase
 SP_ARTICLES += howto/using-merge-subtree
 SP_ARTICLES += howto/using-signed-tag-in-pull-request
similarity index 93%
rename from Documentation/technical/api-command.txt
rename to Documentation/howto/new-command.txt
index d3b978177b405efe9524bf433a316f88a70c849d..36502f6718232c97820ba9818949337352dca0aa 100644 (file)
@@ -1,5 +1,10 @@
-Integrating new subcommands
-===========================
+From: Eric S. Raymond <esr@thyrsus.com>
+Abstract: This is how-to documentation for people who want to add extension
+ commands to git.  It should be read alongside api-builtin.txt.
+Content-type: text/asciidoc
+
+How to integrate new subcommands
+================================
 
 This is how-to documentation for people who want to add extension
 commands to git.  It should be read alongside api-builtin.txt.