Fix warning in docs

Following the cross merge of #3770 which made Travis fall hard on doc warnings and #3736 which introduced a small warning in the docs the doc build in failing on Travis. This fixes that. 

The tests for the pull request was not being run with warnings as errors since it was branched before #3770 was merged. Future pull requests should not have this issue.