Fix docs to use proper enum names that exist.
Merge pull request #1694 from AndrejMitrovic/FixupDocEnums

[trivial] Fix docs to use proper enum names