fix code style
let rst linter know Sphinx dir type