Skip to content

heig-tin-info/handout

Repository files navigation

Polycopié d'informatique

Build Status

Ce référentiel contient le polycopié d'informatique 1 et 2 disponible en formats:

Install

git clone https://github.com/heig-vd-tin/info-handout.git
cd info-handout
git submodule init
git submodulee update
make html
make pdf

Alternativement vous pouvez utiliser Docker et suivre le contenu de .travis.yml.

Intégration continue

Les nouvelles releases sont automatiquement générées par Travis CI:

  • A chaque nouveau tag, les version PDF et MAN sont générées
  • A chaque commit sur la branche master une version HTML est générée

Build

Make sure you have sphinx and the HTML theme installed sphinx-heigvd-theme.

sudo apt-get install -y librsvg2-bin
sudo apt-get install -y python3 python3-pip python3-sphinx

sudo pip3 install sphinx-heigvd-theme
sudo pip3 install sphinxcontrib-svg2pdfconverter

Then if you would like to generate the PDF version you need LaTeX as well.

sudo apt-get install librsvg2-bin # For conversion from svg to pdf

sudo apt-get install texlive-latex-base
sudo apt-get install texlive-fonts-recommended
sudo apt-get install texlive-fonts-extra
sudo apt-get install texlive-latex-extra

sudo apt-get install latexmk

sudo pip install sphinx
sudo pip install sphinxcontrib-svg2pdfconverter