updated documentation for sphinx directive

fixed optional positional arguments in sphinx directive