mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add integration codeowners to sidebar (#32803)
This commit is contained in:
parent
1a7afc8203
commit
fa5340c915
@ -75,3 +75,39 @@
|
|||||||
</div>
|
</div>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="aside-module grid__item one-whole lap-one-half">
|
||||||
|
<div class='section'>
|
||||||
|
<h1 class="title delta">Code owners</h1>
|
||||||
|
{% if page.ha_codeowners %}
|
||||||
|
{% assign ha_project = false %}
|
||||||
|
{% for codeowner in page.ha_codeowners %}
|
||||||
|
{% if codeowner contains "@home-assistant/" %}
|
||||||
|
{% assign ha_project = true %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if ha_project %}
|
||||||
|
<div class="section">
|
||||||
|
This integration is being maintained by the Home Assistant project.
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class="section">
|
||||||
|
We are incredibly grateful to the following contributors who currently maintain this integration:<br />
|
||||||
|
</div>
|
||||||
|
<div class="section">
|
||||||
|
{%- for codeowner in page.ha_codeowners -%}
|
||||||
|
{%- assign clean_codeowner = codeowner | replace: "@", "" -%}
|
||||||
|
<a href="https://github.com/{{ clean_codeowner }}" target="_blank"><i class="icon-github"></i> {{ codeowner }}</a><br />
|
||||||
|
{%- endfor -%}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
<div class="section">
|
||||||
|
This integration is community maintained.<br />
|
||||||
|
If you are a developer and would like to help, feel free to contribute!
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
@ -24,9 +24,6 @@ regenerate: false
|
|||||||
{%- assign components_by_version = site.integrations | group_components_by_release -%}
|
{%- assign components_by_version = site.integrations | group_components_by_release -%}
|
||||||
{%- assign categories = components | map: 'ha_category' | join: ',' | downcase | split: ',' | uniq | sort -%}
|
{%- assign categories = components | map: 'ha_category' | join: ',' | downcase | split: ',' | uniq | sort -%}
|
||||||
|
|
||||||
<p class='note'>
|
|
||||||
Support for these integrations is provided by the Home Assistant community.
|
|
||||||
</p>
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="grid__item one-sixth lap-one-whole palm-one-whole">
|
<div class="grid__item one-sixth lap-one-whole palm-one-whole">
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user