night199uk - q2: when adding new PGNs to canboa...
q2: when adding new PGNs to canboat, which docs files does one update? canboat.json, canboat.xml (which seem to be 2 copies of the same data), AND canboat.html?
3 Replies
If you mean canboat, not canboat-js, the answer is: neither. Add them to analyzer/pgn.h then run “make generated” in the top directory to generate canboat.xml and canboat.json.
Oh and canboat.html is also generated of course. If you examine the source it goes .h -> canboat.xml -> canboat.{json,html}.
thank you, yup, i got it. i wasted a bunch of time editing canboat.json, canboat.xml, then realised make generated does it all automatically. 🤦♂️ 😭 😂
Hmm maybe I should add that to the wiki