Browse Source

🔨 Update script to generate README.md

pull/14359/head
Sebastián Ramírez 8 months ago
parent
commit
0af5a65687
  1. 10
      scripts/docs.py

10
scripts/docs.py

@ -145,14 +145,20 @@ def build_lang(
index_sponsors_template = """
{% if sponsors %}
### Keystone Sponsor
{% for sponsor in sponsors.keystone -%}
<a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
{% endfor %}
### Gold and Silver Sponsors
{% for sponsor in sponsors.gold -%}
<a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
{% endfor -%}
{%- for sponsor in sponsors.silver -%}
<a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
{% endfor %}
{% endif %}
"""

Loading…
Cancel
Save