Fix for generating documentation

- Introduced a syntax error in PR #2161, whoops!
Merge pull request #2179 from tbekolay/doc_fix

Fix for generating documentation