docs: fixed toctrees and reenabling warning as errors