Skip to content
Extraits de code Groupes Projets
Valider 7ec49a23 rédigé par Olivier Bonaventure's avatar Olivier Bonaventure
Parcourir les fichiers

Ajout de sphinx-spelling de façon à pouvoir vérifier automatiquement...

Ajout de sphinx-spelling de façon à pouvoir vérifier automatiquement l'orthographe du syllabus à chaque commit.
parent 7b86afde
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
before_install:
- sudo apt-get install hunspell hunspell-fr
- sudo apt-get install cppcheck
install: "pip install -q -r requirements.txt" install: "pip install -q -r requirements.txt"
language: python language: python
python: python:
......
...@@ -25,7 +25,12 @@ import sys, os ...@@ -25,7 +25,12 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions # Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.todo', 'sphinx.ext.ifconfig', 'sphinx.ext.mathjax', 'sphinx.ext.intersphinx' ] extensions = ['sphinx.ext.todo', 'sphinx.ext.ifconfig', 'sphinx.ext.mathjax', 'sphinx.ext.intersphinx', 'sphinxcontrib.spelling' ]
#spelling
spelling_lang='fr'
spelling_word_list_filename='../dict.txt'
# ucomment # ucomment
#sys.path.append(os.path.abspath(os.getcwd())) #sys.path.append(os.path.abspath(os.getcwd()))
......
Unix
Linux
...@@ -10,13 +10,14 @@ set -e ...@@ -10,13 +10,14 @@ set -e
cd Theorie cd Theorie
echo "**** Theorie ****" echo "**** Theorie ****"
sphinx-build -nWNT --keep-going -b html . /tmp sphinx-build -nWNT --keep-going -b html . /tmp
sphinx-build -b spelling . /tmp
cd ../Outils cd ../Outils
echo "**** Outils ****" echo "**** Outils ****"
sphinx-build -nWNT --keep-going -b html . /tmp sphinx-build -nWNT --keep-going -b html . /tmp
cd ../Exercices cd ../Exercices
echo "**** Exercices ****" echo "**** Exercices ****"
#sphinx-build -nWNT --keep-going -b html . /tmp #sphinx-build -nWNT --keep-going -b html . /tmp
cd QCM #cd QCM
echo "**** QCM ****" #echo "**** QCM ****"
#make #make
cd ../.. cd ../..
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter