Base structure for sphinx contrib