rstcheck
1.0.0
| General | |
| CI | |
| Pypi | |
| Github | |
Comprueba la sintaxis de reestructuredText y los bloqueos de código anidados dentro de ella.
Vea la documentación completa en Read-the-Docs
Contenido
De Pip
$ pip install rstcheckPara usar pyproject.toml para la configuración:
$ Pip Install Rstcheck [Toml]
Para agregar soporte Sphinx:
$ PIP Install Rstcheck [Sphinx]
Con mala sintaxis de Python:
====
Test
====
.. code :: python
print ( $ rstcheck bad_python.rst
bad_python.Rst: 7: (error/3) (Python) EOF inesperado mientras analiza
Con mala sintaxis de C ++:
====
Test
====
.. code :: cpp
int main()
{
return x;
} $ rstcheck bad_cpp.rst
bad_cpp.rst: 9: (error/3) (CPP) Error: 'x' no se declaró en este alcance
Con mala sintaxis en el documento de texto reestructurado en sí:
====
Test
=== $ rstcheck bad_rst.rst
bad_rst.RST: 1: (severo/4) Título Overline y subrayado desajuste.