[docs] Fix for wrong version warning on master instead of latest.
Merge pull request #3473 from dhrp/docs-version-warning-fix

[docs] Fix for wrong version warning on master instead of latest.