Skip to content

Commit

Permalink
Waffle example for documentation + Prepare for 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mz committed Jul 24, 2017
1 parent 2927c4f commit 56b46ec
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changes
=======

0.4.0 (2017-07-xx)
0.4.0 (2017-07-24)
------------------

- Fix error occuring on some representations when using a target layer with empty geometries and warn the user if it's the case.
Expand Down
6 changes: 3 additions & 3 deletions documentation/doc_book/src/carto/waffle_fr.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Carte en gaufre (*waffle map*)

Cette méthode permet de représenter plusieurs stocks comparables pour chacune des entités.
Cette méthode permet de représenter plusieurs stocks dans des unités comparables pour chacune des entités.

> ### Paramètres
> * Nom des champs à utiliser (variables de stocks dans la même unités)
> * Nom des champs à utiliser (variables de stocks dans la même unité)
> * Forme du symbole (cercle ou carré)
> * Nombre de symboles par ligne
> * Ratio (valeur d'un symbole, dans l'unité des variables utilisées)
Expand All @@ -12,7 +12,7 @@ Cette méthode permet de représenter plusieurs stocks comparables pour chacune
#### Exemple :

<p style="text-align: center;">
<img src="img/waffle.png" alt="waffle_map" style="width: 480px;"/>
<img src="img/waffle_fontaines.png" alt="waffle_map" style="width: 480px;"/>
</p>

- Champs utilisé : **HOMMES, FEMMES**
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion magrit_app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = '0.3.7'
__version__ = '0.4.0'
6 changes: 3 additions & 3 deletions magrit_app/static/book/carto/waffle_fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ <h1 class="menu-title">Les docs de Magrit</h1>

<div id="content" class="content">
<h1>Carte en gaufre (<em>waffle map</em>)</h1>
<p>Cette méthode permet de représenter plusieurs stocks comparables pour chacune des entités.</p>
<p>Cette méthode permet de représenter plusieurs stocks dans des unités comparables pour chacune des entités.</p>
<blockquote>
<h3>Paramètres</h3>
<ul>
<li>Nom des champs à utiliser (variables de stocks dans la même unités)</li>
<li>Nom des champs à utiliser (variables de stocks dans la même unité)</li>
<li>Forme du symbole (cercle ou carré)</li>
<li>Nombre de symboles par ligne</li>
<li>Ratio (valeur d'un symbole, dans l'unité des variables utilisées)</li>
Expand All @@ -81,7 +81,7 @@ <h3>Paramètres</h3>
</blockquote>
<h4>Exemple :</h4>
<p style="text-align: center;">
<img src="img/waffle.png" alt="waffle_map" style="width: 480px;"/>
<img src="img/waffle_fontaines.png" alt="waffle_map" style="width: 480px;"/>
</p>
<ul>
<li>Champs utilisé : <strong>HOMMES, FEMMES</strong></li>
Expand Down
Binary file added magrit_app/static/book/img/waffle_fontaines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions magrit_app/static/book/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -587,11 +587,11 @@ <h4>Exemple :</h4>
<img src="img/typo_picto.png" alt="picto_map" style="width: 480px;"/>
</p>
<h1>Carte en gaufre (<em>waffle map</em>)</h1>
<p>Cette méthode permet de représenter plusieurs stocks comparables pour chacune des entités.</p>
<p>Cette méthode permet de représenter plusieurs stocks dans des unités comparables pour chacune des entités.</p>
<blockquote>
<h3>Paramètres</h3>
<ul>
<li>Nom des champs à utiliser (variables de stocks dans la même unités)</li>
<li>Nom des champs à utiliser (variables de stocks dans la même unité)</li>
<li>Forme du symbole (cercle ou carré)</li>
<li>Nombre de symboles par ligne</li>
<li>Ratio (valeur d'un symbole, dans l'unité des variables utilisées)</li>
Expand All @@ -600,7 +600,7 @@ <h3>Paramètres</h3>
</blockquote>
<h4>Exemple :</h4>
<p style="text-align: center;">
<img src="img/waffle.png" alt="waffle_map" style="width: 480px;"/>
<img src="img/waffle_fontaines.png" alt="waffle_map" style="width: 480px;"/>
</p>
<ul>
<li>Champs utilisé : <strong>HOMMES, FEMMES</strong></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ function parseQuery(search) {
lng: lang,
fallbackLng: _app.existing_lang[0],
backend: {
loadPath: 'static/locales/{{lng}}/translation.274075b85168.json'
loadPath: 'static/locales/{{lng}}/translation.544cdd8adf9d.json'
}
}, function (err, tr) {
if (err) {
Expand Down
4 changes: 2 additions & 2 deletions magrit_app/templates/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title> {{ app_name }} </title>
<link rel="icon" type="image/png" href="static/img/favicon.png" />
<link href="static/css/scoped-bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="static/css/style.274075b85168.min.css" rel="stylesheet" type="text/css">
<link href="static/css/style.544cdd8adf9d.min.css" rel="stylesheet" type="text/css">
<link href="static/css/vanilla-dataTables.min.css" rel="stylesheet" type="text/css">
<link href="static/css/alertify.min.css" rel="stylesheet" type="text/css">
<link href="static/css/semantic.min.css" rel="stylesheet" type="text/css">
Expand Down Expand Up @@ -51,6 +51,6 @@
</div>
</noscript>
<script src="static/js/lib/bootstrap-native3.mod.min.js"></script>
<script src="static/js/app.274075b85168.js"></script>
<script src="static/js/app.544cdd8adf9d.js"></script>
</body>
</html>

0 comments on commit 56b46ec

Please sign in to comment.