Commit f735ec7a authored by vincentvigon's avatar vincentvigon
Browse files

passage a gitlab

parent 23e577d5
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
,vigon,MacBook-Pro-de-irma.local,17.06.2018 21:17,file:///Users/vigon/Library/Application%20Support/OpenOffice/4;
\ No newline at end of file
%% Cell type:markdown id: tags:
![](fig/python-logo.png)
### Master 2 DUAS Unistra, 2017-2018
***
# Programmer en Python
***
## Contenu
- **Les généralités** - [html](01-generalites.html) - [diaporama](01-generalites.slides.html)
- **Le langage (1)** - [html](02-langage.html) - [diaporama](02-langage.slides.html)
- **Le langage (1)** - [html](02-histogramme_densite.html) - [diaporama](02-histogramme_densite.slides.html)
- **Les généralités** - [html](04-plusDeLois.html) - [diaporama](04-plusDeLois.slides.html)
**Exécuter en ligne**
<a href="https://mybinder.org/v2/gh/boileaum/cours-python/master"><img style="display: inline" src="https://mybinder.org/badge.svg"></a>
**Télécharger le** [**pdf**](cours-python.pdf)
**Sources sur **[**GitLab**](https://gitlab.math.unistra.fr/mm2act/cours-python)
***
Matthieu Boileau - [matthieu.boileau@math.unistra.fr](mailto: matthieu.boileau@math.unistra.fr)
Vincent Legoll - [vincentlegoll@gmail.com](mailto: vincent.legoll@gmail.com)
*Contenu mis à disposition sous licence [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0)*
......
......@@ -11,7 +11,7 @@ else
endif
html := $(addprefix build/, $(subst .ipynb,.html,$(notebooks)))
slides := $(addprefix build/, $(subst .ipynb,.slides.html,$(notebooks)))
#slides := $(addprefix build/, $(subst .ipynb,.slides.html,$(notebooks)))
executed_notebooks := $(addprefix build/, $(notebooks))
.PHONY: all clean html slides executed_notebooks index copy_to_build pdf
......@@ -29,7 +29,7 @@ to run them without internet connection)"
executed_notebooks: copy_to_build $(executed_notebooks)
html: $(html)
#slides: copy_reveal $(slides)
slides: $(slides)
#slides: $(slides)
index: copy_to_build build/index.html
pdf: copy_to_build build/cours-python.pdf
......@@ -39,9 +39,11 @@ define nbconvert
jupyter nbconvert --to $(1) $< --output-dir=build
endef
# @ pour cacher la commande
build:
@mkdir -p build
#miroir entre img et build/img
copy_to_build: build
rsync -ra --delete img build/
......@@ -54,8 +56,8 @@ $(executed_notebooks): build/%.ipynb: %.ipynb
build/%.html: build/%.ipynb
$(call nbconvert,html,$<)
build/%.slides.html: build/%.ipynb
$(call nbconvert,slides,$<) --reveal-prefix $(revealprefix)
#build/%.slides.html: build/%.ipynb
# $(call nbconvert,slides,$<) --reveal-prefix $(revealprefix)
build/index.html: index.ipynb
$(call nbconvert,html,$<)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment