[Chapel Merge] Pass the class to add_lexer instead of instance

Branch: refs/heads/master
Revision: f16dc33
Author: e-kayrakli
Log Message:

Merge pull request #42 from e-kayrakli/fix-warning

Pass the class to add_lexer instead of instance

Creating an instance of the lexer and passing it to add_lexer is deprecated in Sphinx and generates warnings. This PR passes the type instead.

[Trivial, not reviewed]

Modified Files:
M sphinxcontrib/chapeldomain/init.py

Compare: https://github.com/chapel-lang/sphinxcontrib-chapeldomain/compare/10ed3f6e0353...f16dc3368680