docs: conf.py: fix2 trick for mocking-out C-libs for sphinx-autodoc.

* Warn about bad docs in modules.
* Add Indices in TOCTree.