From 34629fcff6f40723872fda3fa473271fd4c9846f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Foug=C3=A8res?= Date: Fri, 11 Oct 2024 17:43:53 +0200 Subject: [PATCH] feat(docs): use grid cards for sponsors --- SPONSORS.md | 26 -------- website/__pycache__/macros.cpython-312.pyc | Bin 2693 -> 2512 bytes website/docs/sponsors.md | 66 ++++++++++++++++++++- website/macros.py | 3 +- website/mkdocs.yml | 1 + 5 files changed, 67 insertions(+), 29 deletions(-) delete mode 100644 SPONSORS.md diff --git a/SPONSORS.md b/SPONSORS.md deleted file mode 100644 index 54ab4dc6..00000000 --- a/SPONSORS.md +++ /dev/null @@ -1,26 +0,0 @@ -# Sponsors - -We gratefully acknowledge the support of our sponsors. Their contributions help make this project possible. -SFCGAL are sponsored by the following organizations: - -| Sponsor | Logo | Web/Description | -|----------------|-----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------| -| Oslandia | ![Oslandia](website/docs/assets/img/sponsors/oslandia.png){height=123px} | [Oslandia](https://oslandia.com) | -| Dalibo | ![Dalib](website/docs/assets/img/sponsors/logo-dalibo.png){height=123px} | [Dalibo](https://www.dalibo.com) | -| BPI France | ![BPI France](website/docs/assets/img/sponsors/bpi_france.png){height=123px} | [BPI France](https://www.bpifrance.com/) | -| France 2030 | ![France 2030](website/docs/assets/img/sponsors/france_2030.png){height=123px} | Funded by the French government as part of France 2030 | -| France Relance | ![France Relance](website/docs/assets/img/sponsors/france_relance.png){height=123px} ![EU](website/docs/assets/img/sponsors/ue_next_generation.png){height=123px} | Funded by the European Union - Next Generation EU as part of the France Relance plan | - -If you wish to sponsor SFCGAL, you can contact us at [infos@sfcgal.org](mailto:infos@sfcgal.org). - -## Contributors - -The SFCGAL project would not be possible without the dedicated efforts of its contributors. All contributors are listed in [AUTHORS](AUTHORS): - -Thank you to all our contributors for your support and dedication to the project! - -## Funding - -The first SFCGAL releases were funded by the European Union (FEDER, related to the [e-PLU project](http://www.e-plu.fr)) and by Oslandia. - -We are seeking additional funding to continue development. If interested, contact us at [infos@oslandia.com](mailto:infos@oslandia.com). diff --git a/website/__pycache__/macros.cpython-312.pyc b/website/__pycache__/macros.cpython-312.pyc index b42e91f061cc1456d84121f348b2d7fc0461ec39..76ec7bb4274d8b862f36ca69ca6ee409dc030587 100644 GIT binary patch delta 459 zcmZn_y&%kYnwOW00SG3#bEZ#a+sN0;$T(y297boJTBaJNWTq4r5S*;fBx}f0!5qm@ z&Zx{#!UEC&0xAqe9E=PptTha?8Ri02M=}I6lruooX|ipuWolwn^!p{?mYI{Pke6Sg zkd|MXmtv)$$$X0?zaTa57E4iTV#?%nmZf%~K+_r+KFF|g8r~5UoshABc}4maL9-7G zOuX_tRBlMg&DWf%Ia_-I`welq@2o(Wfm0iO-|$x7vTpfV#&$OOD$#wG8GgQiUcS3a5yq5PCm!+OGOAMRwNB1 z5V9Z*Tq&t(KrQj9d1XcNlizSk$_lX>&ME%D0Hl^Ae*#gTnHkvlKQIAVA2cQ_acNq~ z12wK>C{h4YMS?)$7l%!5eoARhs$CJtbBsV-%nKwwFf%eT-e%zZ%%aa|0agwG1e)Wn!k#ao`5RGe9os-KddT&#bKp-L#)F*L-(KPWg>1Io~>5=V&X=_i(!WaJkW z>*c0s`u!4c%gjkt$jdKLNXswHOR-YWWVywXUyz!2i=`+vG36F}QEEX>Vsh%_JIqUC zOMotGVE7=z#%Xv*P;^4Z0_GLzR|L&IFfjAV?@+lRB{yGlrsizz>r%QGrF2*1?HM=6F0 zCXRf}2U$3Q%!7Qaj^gYGg_%KYaWE;x=cvtmP>az~dov?z3lj$qP@5)e5%1()b~zmZ z5Qq5|e?bw@A4MgZsm1YWKu;D40>y8!L{P9~gktlH^Yy z>N7I~8$Ve5gVy9+PE9M2-jxhRND^dk=8G*Q%7f5_yW@Kc% O&A|DY#emTQtQ-IX?4QB_ diff --git a/website/docs/sponsors.md b/website/docs/sponsors.md index ee196e41..795ada34 100644 --- a/website/docs/sponsors.md +++ b/website/docs/sponsors.md @@ -1 +1,65 @@ -{{ include_file("../SPONSORS.md") }} +# Sponsors + +We gratefully acknowledge the support of our sponsors. Their contributions help make this project possible. +SFCGAL are sponsored by the following organizations: + + +
+ +- ![Oslandia](./assets/img/sponsors/oslandia.png){height=200px} + + ---- + + Conception and initial development. Hosts core developer and main maintainers. + + [➜ Visit Oslandia](https://oslandia.com) + +- ![Dalibo](./assets/img/sponsors/logo-dalibo.png){height=200px} + + ---- + + Support and contributions to the project. + + [➜ Visit Dalibo](https://www.dalibo.com) + +- ![BPI France](./assets/img/sponsors/bpi_france.png){height=200px} __BPI France__ + + ---- + + Funded by BPI France as part of innovation financing. + + [➜ Visit BPI France](https://www.bpifrance.com) + +- ![France 2030](./assets/img/sponsors/france_2030.png){height=100px} __France 2030__ + + ---- + + Funded by the French government as part of France 2030. + + [➜ Learn more about France 2030](https://www.gouvernement.fr/les-priorites/france-2030) + +- ![France Relance](./assets/img/sponsors/france_relance.png){height=200px} ![EU](./assets/img/sponsors/ue_next_generation.png){height=200px} __France Relance & EU Next Generation__ + + ---- + + Funded by the European Union - Next Generation EU as part of the France Relance plan. + + [➜ Learn more about France Relance](https://www.gouvernement.fr/le-plan-france-relance) + +
+ + + +If you wish to sponsor SFCGAL, you can contact us at [infos@sfcgal.org](mailto:infos@sfcgal.org). + +## Contributors + +The SFCGAL project would not be possible without the dedicated efforts of its contributors. All contributors are listed in [AUTHORS](./authors.md): + +Thank you to all our contributors for your support and dedication to the project! + +## Funding + +The first SFCGAL releases were funded by the European Union (FEDER, related to the [e-PLU project](http://www.e-plu.fr)) and by Oslandia. + +We are seeking additional funding to continue development. If interested, contact us at [infos@oslandia.com](mailto:infos@oslandia.com). diff --git a/website/macros.py b/website/macros.py index 013cd59d..b0011687 100644 --- a/website/macros.py +++ b/website/macros.py @@ -25,8 +25,7 @@ def include_file(filename: str) ->str: """ try: with open(filename, "r", encoding="utf-8") as file: - content = file.read().replace("website/docs/", "") - content = content.replace("[AUTHORS](AUTHORS)", "[AUTHORS](./authors.md)") + content = file.read() return content except FileNotFoundError: return f"File not found: {filename}" diff --git a/website/mkdocs.yml b/website/mkdocs.yml index 3dcd1619..d873fd77 100644 --- a/website/mkdocs.yml +++ b/website/mkdocs.yml @@ -23,6 +23,7 @@ extra_css: markdown_extensions: - attr_list - admonition + - md_in_html plugins: - mkdocs-video