DOC: remove docstring of flags attribute during doc building process (#5331)
Merge pull request #5450 from jorisvandenbossche/docs-flags-remove-docstring

DOC: remove docstring of flags attribute during doc building process (#5331)