Restructured docs generator