Add nodoc to some constants [skip ci]
Merge pull request #18102 from arthurnn/nodoc_constant

Add nodoc to some constants [skip ci]