mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
Split report Library Index page (#2050)
This commit is contained in:
@@ -44,15 +44,14 @@ def generate_mailinglist_words(
|
|||||||
word_frequencies = {}
|
word_frequencies = {}
|
||||||
for content in get_mail_content(version, prior_version):
|
for content in get_mail_content(version, prior_version):
|
||||||
for key, val in WordCloud().process_text(content).items():
|
for key, val in WordCloud().process_text(content).items():
|
||||||
key = key.strip()
|
key = key.strip().lower()
|
||||||
if len(key) < 2:
|
if len(key) < 2:
|
||||||
continue
|
continue
|
||||||
if key in SiteSettings.load().wordcloud_ignore_set:
|
if key in SiteSettings.load().wordcloud_ignore_set:
|
||||||
continue
|
continue
|
||||||
key_lower = key.lower()
|
if key not in word_frequencies:
|
||||||
if key_lower not in word_frequencies:
|
word_frequencies[key] = 0
|
||||||
word_frequencies[key_lower] = 0
|
word_frequencies[key] += val
|
||||||
word_frequencies[key_lower] += val
|
|
||||||
|
|
||||||
return word_frequencies
|
return word_frequencies
|
||||||
|
|
||||||
|
|||||||
@@ -409,27 +409,48 @@ ul.slack-channels li div a:hover,
|
|||||||
|
|
||||||
<div class="pdf-page flex items-center justify-items-center {{ bg_color }}" style="background-image: url('{% static 'img/release_report/bg6-rev.png' %}');">
|
<div class="pdf-page flex items-center justify-items-center {{ bg_color }}" style="background-image: url('{% static 'img/release_report/bg6-rev.png' %}');">
|
||||||
<div class="flex flex-col h-full mx-auto w-full">
|
<div class="flex flex-col h-full mx-auto w-full">
|
||||||
<h2 class="mx-auto">Library Index</h2>
|
<h2 class="mx-auto">Updated Libraries</h2>
|
||||||
<ul id="library_index" class="flex flex-col flex-wrap gap-x-4 gap-y-2 text-xs h-5/6">
|
<ul id="library_index" class="flex flex-col flex-wrap gap-x-4 gap-y-2 text-xs h-5/6">
|
||||||
{% for library, in_version_library_data in library_index_libraries %}
|
{% for library, in_version_library_data in library_index_libraries %}
|
||||||
<li class="max-w-[10rem] flex gap-x-1 items-center">
|
{% if in_version_library_data %}
|
||||||
{% if library.group == "great" %}
|
<li class="max-w-[10rem] flex gap-x-1 items-center">
|
||||||
<i class="text-orange fa-solid fa-star"></i>
|
{% if library.group == "great" %}
|
||||||
{% elif library.group == "good" %}
|
<i class="text-orange fa-solid fa-star"></i>
|
||||||
<i class="text-orange fa-regular fa-star"></i>
|
{% elif library.group == "good" %}
|
||||||
{% else %}
|
<i class="text-orange fa-regular fa-star"></i>
|
||||||
<i class="text-orange fa-regular fa-fw"></i>
|
{% else %}
|
||||||
{% endif %}
|
<i class="text-orange fa-regular fa-fw"></i>
|
||||||
{% if in_version_library_data %}
|
{% endif %}
|
||||||
<a href="#library-{{library.display_name}}" class="font-semibold">{{ library.name }}</a>
|
<a href="#library-{{library.display_name}}" class="font-semibold">{{ library.name }}</a>
|
||||||
{% else %}
|
</li>
|
||||||
<span>{{ library.name }}</span>
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
</li>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="pdf-page flex items-center justify-items-center {{ bg_color }}" style="background-image: url('{% static 'img/release_report/bg6-rev.png' %}');">
|
||||||
|
<div class="flex flex-col h-full mx-auto w-full">
|
||||||
|
<h2 class="mx-auto">Other Libraries</h2>
|
||||||
|
<ul id="library_index" class="flex flex-col flex-wrap gap-x-4 gap-y-2 text-xs h-5/6">
|
||||||
|
{% for library, in_version_library_data in library_index_libraries %}
|
||||||
|
{% if not in_version_library_data %}
|
||||||
|
<li class="max-w-[10rem] flex gap-x-1 items-center">
|
||||||
|
{% if library.group == "great" %}
|
||||||
|
<i class="text-orange fa-solid fa-star"></i>
|
||||||
|
{% elif library.group == "good" %}
|
||||||
|
<i class="text-orange fa-regular fa-star"></i>
|
||||||
|
{% else %}
|
||||||
|
<i class="text-orange fa-regular fa-fw"></i>
|
||||||
|
{% endif %}
|
||||||
|
<span>{{ library.name }}</span>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% if new_libraries %}
|
{% if new_libraries %}
|
||||||
<div class="pdf-page flex items-center justify-items-center {{ bg_color }}" style="background-image: url('{% static 'img/release_report/bg3.png' %}');">
|
<div class="pdf-page flex items-center justify-items-center {{ bg_color }}" style="background-image: url('{% static 'img/release_report/bg3.png' %}');">
|
||||||
<div class="flex flex-col h-full mx-auto w-full">
|
<div class="flex flex-col h-full mx-auto w-full">
|
||||||
|
|||||||
Reference in New Issue
Block a user