docs for directive