lark icon indicating copy to clipboard operation
lark copied to clipboard

Make sphinx gallery execute examples

Open chsasank opened this issue 3 years ago • 4 comments

There are some issues with relative imports and other issues. Once fixed they can be made to execute and that could be super cool!

See https://github.com/lark-parser/lark/pull/666#issuecomment-676159386_

chsasank avatar Aug 19 '20 11:08 chsasank

Is there a command line, that if it succeeds, guarantees that all examples will run in sphinx for sure?

erezsh avatar Aug 19 '20 12:08 erezsh

cd to directory with the example. run python x.py. This should print something and exit with 0.

chsasank avatar Aug 19 '20 12:08 chsasank

What about GUI programs like qscintilla_json.py?

erezsh avatar Aug 19 '20 12:08 erezsh

All examples should work now.

erezsh avatar Aug 20 '20 07:08 erezsh