Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to ensure rST document quality? [closed]

We are now using sphinx+rST to manage our inner documents. But some developers are not abbey to rST format. So I'd like to add a git-hook to ensure the quality of the rST docs. Any rST lint tools available?

like image 313
Kane Blueriver Avatar asked Nov 01 '22 08:11

Kane Blueriver


1 Answers

Add https://pypi.python.org/pypi/restructuredtext_lint to your repository's pre-commit or pre-receive hook.

like image 185
cweiske Avatar answered Nov 09 '22 10:11

cweiske