generate topic resources