config.txt: move instaweb.* to a separate file
[gitweb.git] / Documentation / CodingGuidelines
index 72967deb785814546830cf23a54eeeb93d147681..8579530710a7e2b665941be45264429b99d5134b 100644 (file)
@@ -376,7 +376,10 @@ For C programs:
    string_list for sorted string lists, a hash map (mapping struct
    objects) named "struct decorate", amongst other things.
 
- - When you come up with an API, document it.
+ - When you come up with an API, document its functions and structures
+   in the header file that exposes the API to its callers. Use what is
+   in "strbuf.h" as a model for the appropriate tone and level of
+   detail.
 
  - The first #include in C files, except in platform specific compat/
    implementations, must be either "git-compat-util.h", "cache.h" or