Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
groupe-calcul
website
Commits
db396753
Commit
db396753
authored
Feb 11, 2020
by
Benoit Fabrèges
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update meso json with one with multiple region. Fix fullDescription bug
parent
e73424f2
Pipeline
#6040
passed with stages
in 2 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
content/pages/meso-details.rst
content/pages/meso-details.rst
+1
-2
plugins/meso_list/json.py
plugins/meso_list/json.py
+3
-2
No files found.
content/pages/meso-details.rst
View file @
db396753
...
...
@@ -34,5 +34,4 @@ Les mésocentres en |_| France
:class: description
.. meso_list::
:json_url: https://plmbox.math.cnrs.fr/seafhttp/files/235990d7-c6be-455f-a6bb-a62aeada1620/liste_mesos.json
:json_url: https://plmbox.math.cnrs.fr/seafhttp/files/0c303d56-d5a0-463f-b6e7-22082376639b/liste_mesos.json
plugins/meso_list/json.py
View file @
db396753
...
...
@@ -52,8 +52,9 @@ def json_mesolist_to_rst(url):
else
:
if
key
in
keys_list
:
rst
+=
" "
*
8
+
f
":
{
key
}
:
{
', '
.
join
(
map
(
str
,
val
))
}
\n
"
rst
+=
"
\n
"
+
" "
*
8
+
f
"
{
meso
[
'fullDescription'
]
}
\n\n
"
if
'fullDescription'
in
meso
.
keys
():
rst
+=
"
\n
"
+
" "
*
8
+
f
"
{
meso
[
'fullDescription'
]
}
\n\n
"
return
rst
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment