Fixed building of plugin docs.
Merge pull request #1411 from crobinsonut/fix-plugin-docs

Fixed building of plugin docs.