Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug of Sphinx's .. code:: directive not recognizing :class: option
Sphinx's own .. code:: directive (but not docutils') does not recognise the :class: option but only the :classes: option. This is probably due to an oversight that the user-visible option is called ``:class:`` while the Python attribute is called ``classes`` (to not collide with the keyword ``class``). Fix it by checking for the option ``class`` instead of ``classes``.
- Loading branch information