[skip ci] docs: fix constant syntax in stubs.rst (#15785) Constants are declared with `=` not `:`
Document stubs (#13677) Co-authored-by: Derick Rethans <github@derickrethans.nl>