define_property(): Make BRIEF_DOCS and FULL_DOCS optional

Issue: #20698
8 files changed