yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #07929
[Bug 692759] Re: report yade errors during sphinx generation
Those 2 errors, indicated by Janek, are fixed.
** Changed in: yade
Importance: Undecided => Wishlist
** Changed in: yade
Status: New => Opinion
--
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/692759
Title:
report yade errors during sphinx generation
Status in Yet Another Dynamic Engine:
Opinion
Bug description:
Hi, while browsing through docs, you can stumble upon badly generated
examples of "how yade works", those examples include:
https://www.yade-dem.org/sphinx/prog.html#python-attribute-access
https://www.yade-dem.org/sphinx/prog.html#wrapping-c-classes
This bug report isn't about fixing those two examples, because there
are too many of them.
The idea is to instead detect yade runtime errors in sphinx
generation phase and report an error. Maybe even failing to compile
documentation. Simplest way, I think, is to add a command line option
to yade which tells it to exit(1) on first python error. Those
exit(1)'s sphinx would be able detect.
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/692759/+subscriptions
References