Skip to content
Snippets Groups Projects
Unverified Commit 1797a509 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil :bicyclist:
Browse files

Add acknowledgements

(complies with PerMedCoE rules)
parent 09d87a4d
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,7 @@ the test suite to ensure that everything works as expected:
] test COBREXA
```
<!--acknowledgements_begin-->
## Acknowledgements
`COBREXA.jl` is developed at the Luxembourg Centre for Systems Biomedicine of
......@@ -128,7 +129,10 @@ cooperating with the Institute for Quantitative and Theoretical Biology at the H
Heine University in Düsseldorf ([qtb.hhu.de](https://www.qtb.hhu.de/)).
The development was supported by European Union's Horizon 2020 Programme under
PerMedCoE project ([permedcoe.eu](https://www.permedcoe.eu/)) agreement no.
951773.
PerMedCoE project ([permedcoe.eu](https://www.permedcoe.eu/)) agreement no. 951773.
<!--acknowledgements_end-->
<!--ack_logos_begin-->
<img src="https://lcsb-biocore.github.io/COBREXA.jl/stable/assets/cobrexa.svg" alt="COBREXA logo" height="64px" style="height:64px; width:auto"> <img src="https://lcsb-biocore.github.io/COBREXA.jl/stable/assets/unilu.svg" alt="Uni.lu logo" height="64px" style="height:64px; width:auto"> <img src="https://lcsb-biocore.github.io/COBREXA.jl/stable/assets/lcsb.svg" alt="LCSB logo" height="64px" style="height:64px; width:auto"> <img src="https://lcsb-biocore.github.io/COBREXA.jl/stable/assets/hhu.svg" alt="HHU logo" height="64px" style="height:64px; width:auto"> <img src="https://lcsb-biocore.github.io/COBREXA.jl/stable/assets/qtb.svg" alt="QTB logo" height="64px" style="height:64px; width:auto"> <img src="https://lcsb-biocore.github.io/COBREXA.jl/stable/assets/permedcoe.svg" alt="PerMedCoE logo" height="64px" style="height:64px; width:auto">
<!--ack_logos_end-->
<img src="docs/src/assets/cobrexa.svg" alt="COBREXA logo" height="64px"> <img src="docs/src/assets/unilu.svg" alt="Uni.lu logo" height="64px"> <img src="docs/src/assets/lcsb.svg" alt="LCSB logo" height="64px"> <img src="docs/src/assets/hhu.svg" alt="HHU logo" height="64px"> <img src="docs/src/assets/qtb.svg" alt="QTB logo" height="64px"> <img src="docs/src/assets/permedcoe.svg" alt="PerMedCoE logo" height="64px">
......@@ -34,14 +34,15 @@ for notebook in notebooks
end
# generate index.md from .template and the quickstart in README.md
quickstart = match(
r"<!--quickstart_begin-->\n([^\0]*)<!--quickstart_end-->",
open(f -> read(f, String), joinpath(@__DIR__, "..", "README.md")),
).captures[1]
index_md = replace(
open(f -> read(f, String), joinpath(@__DIR__, "src", "index-template.md")),
"<!--insert_quickstart-->\n" => quickstart,
)
readme=open(f -> read(f, String), joinpath(@__DIR__, ".." ,"README.md"))
quickstart = match(r"<!--quickstart_begin-->\n([^\0]*)<!--quickstart_end-->", readme).captures[1]
acks = match(r"<!--acknowledgements_begin-->\n([^\0]*)<!--acknowledgements_end-->", readme).captures[1]
ack_logos = match(r"<!--ack_logos_begin-->\n([^\0]*)<!--ack_logos_end-->", readme).captures[1]
index_md = open(f -> read(f, String),
joinpath(@__DIR__, "src", "index.md.template"))
index_md = replace(index_md, "<!--insert_quickstart-->\n" => quickstart)
index_md = replace(index_md, "<!--insert_acknowledgements-->\n" => acks)
index_md = replace(index_md, "<!--insert_ack_logos-->\n" => ack_logos)
open(f -> write(f, index_md), joinpath(@__DIR__, "src", "index.md"), "w")
# build the docs
......
......@@ -69,3 +69,9 @@ Pages = ["functions.md"]
If you wish to contribute code, patches or improvements to `COBREXA.jl`, please
read the basic [contribution guidelines and hints.](howToContribute.md).
<!--insert_acknowledgements-->
```@raw html
<!--insert_ack_logos-->
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment