pothos-library: fix doc parse to strip trailing */