On 09/26/2011 08:52 PM, John H Palmieri wrote: > > I just tested it: I changed the code in one file (added a "print" > statement, did not change any documentation), and it was detected by > "print_modified_modules". I think that the sphinx environment pickle > saves more than just the documentation produced by autodoc, so if you > change any part of a file, it recognizes this. I thought that this is > what you were asking about originally, but maybe I'm misunderstanding > what you're saying.
Well I have the following situation huge_code_base |_ library_1 |_ library_2 |_ module1 |_ class X |_ class Y etc etc. My idea is that if in my documentation I have something like .. autoclass:: library_2.module1.classX and IF the code in classX is changed since last time I built the doc, I get a warning that asks if I want to change the doc. But if I change classY nothing should be changed... If that code does this it would be perfect, but I don't understand how it does unless it's actually using autodoc behind the scenes... -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.