if a docstring is empty after filtering: do not add it