Andrea Crotti <[email protected]> writes:

>
> Noone had my some idea?
>
> I haven't investigated much yet, but I think that I could
> - assign an ID to every fragment of code which is fetched using the
> autodoc extension (probably just the name would be perfectly enough)
> - compute and store the checksum of that fragment somewhere
>
> Next time sphinx runs checks if the checksum for the fragment is
> changed and eventually it prints a warning...
>
> Would that make sense?


>From what I've seen, the only way to do it would be add some behavior to
the autodoc extension.

In particular in the "generate" function I would have everything I need
to generate and update a database with "id->checksum" and use it to
raise some nice warnings.

But I don't want to just hack around autodoc.generate, is there a
feasible way to add something like this?

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to