[PATCH] Move api-command.txt to the end of API list in api-index.txt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



- because it describes a different form of API than the other api-* documents

Signed-off-by: Thomas Ackermann <th.acker@xxxxxxxx>
---
 Documentation/technical/api-index.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/technical/api-index.sh b/Documentation/technical/api-index.sh
index 9c3f413..c2c68ed 100755
--- a/Documentation/technical/api-index.sh
+++ b/Documentation/technical/api-index.sh
@@ -10,12 +10,16 @@
 	while read filename
 	do
 		case "$filename" in
-		api-index-skel.txt | api-index.txt) continue ;;
+		api-index-skel.txt | api-index.txt | api-command.txt) continue ;;
 		esac
 		title=$(sed -e 1q "$filename")
 		html=${filename%.txt}.html
 		echo "* link:$html[$title]"
 	done
+	filename=api-command.txt
+	title=$(sed -e 1q "$filename")
+	html=${filename%.txt}.html
+	echo "* link:$html[$title]"
 	echo "$c"
 	sed -n -e '/^\/\/ table of contents end/,$p' "$skel"
 ) >api-index.txt+
-- 
1.8.0.msysgit.0


---
Thomas
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]