Enhance documentation

- Add more information to the documentation front page
- Document how to build the documentation
- Clarify the tutorial a bit and remove some quirks
- Bring README.rst up-to-date
- Small enhancements here and there
This commit is contained in:
Petri Lehtinen
2009-10-19 21:55:21 +03:00
parent a83cd30c31
commit cd96049d10
5 changed files with 92 additions and 52 deletions

View File

@@ -120,7 +120,7 @@ int main(int argc, char *argv[])
}
commits = json_object_get(root, "commits");
if(!commits || !json_is_array(commits))
if(!json_is_array(commits))
{
fprintf(stderr, "error: commits is not an array\n");
return 1;
@@ -139,14 +139,14 @@ int main(int argc, char *argv[])
}
id = json_object_get(commit, "id");
if(!id || !json_is_string(id))
if(!json_is_string(id))
{
fprintf(stderr, "error: commit %d: id is not a string\n", i + 1);
return 1;
}
message = json_object_get(commit, "message");
if(!message || !json_is_string(message))
if(!json_is_string(message))
{
fprintf(stderr, "error: commit %d: message is not a string\n", i + 1);
return 1;