Browse Source

_API.md fix for grewal

it seems internet dies daily...
i am trying to push fix for the API.md (renamed to _API.md) generation.
It used to generate the API.md then the help.json files, so you would
have to run it twice for the API.md to get the updates. with the fix,
it should work in one pass as I generate the help. json and then the
API.md uses the most recent help.json
release/v0.1
jl777 9 years ago
parent
commit
e0550e7494
  1. 2
      iguana/iguana_json.c

2
iguana/iguana_json.c

@ -453,7 +453,7 @@ char *SuperNET_htmlstr(char *fname,char *htmlstr,int32_t maxsize,char *agentstr)
{
int32_t i,n,len,size = 0; long filesize; cJSON *helpjson,*item,*array; char *str; FILE *fp = 0;
htmlstr[0] = 0;
pretty_forms("_API.md",0,"md");
pretty_forms("_API.md",0,"md");
printf("autocreate %s\n","_API.md");
pretty_forms(fname,agentstr,"html");
return(OS_filestr(&filesize,"index7778.html"));

Loading…
Cancel
Save