documentation: move markdown syntax documentation and move helper for counting lines

This commit is contained in:
2019-08-14 15:05:40 +02:00
parent 124eaf42cd
commit a6c8dea190
4 changed files with 31 additions and 18 deletions

View File

@ -1,8 +1,17 @@
Commandes utiles
================
* Appliquer le header de licence sur tout le projet
Appliquer le header de licence sur tout le projet
-------------------------------------------------
.. code-block:: bash
for f in $(find . -name "*.py" ! -path "*migration*" ! -path "./env/*" ! -path "./doc/*"); do cat ./doc/header "$f" > /tmp/temp && mv /tmp/temp "$f"; done
Compter le nombre de lignes de code
-----------------------------------
.. code-block:: bash
sudo apt install cloc
cloc --exclude-dir=doc,env .