Search code examples
python-sphinxgithooksrestructuredtext

How to ensure rST document quality?


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?


Solution

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