You'd have to look at build_docs.py and common.py - I think you've delved around in that sort of stuff before.
So it looks like right now it doesn't do it, but get_jsondata checks is_for_document and only discards documentation based on what's defined if is_for_document=false.
I guess a 'docs' target could be added to the Makefile, then you could add all the -DABCD=1 style defines that usually get added to build_jswrapper to the command-line, could have a way of disabling the is_for_document=false check and you'd be sorted
© Espruino, powered by microcosm.
Report a problem