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 = {}
|
||||
for content in get_mail_content(version, prior_version):
|
||||
for key, val in WordCloud().process_text(content).items():
|
||||
key = key.strip()
|
||||
key = key.strip().lower()
|
||||
if len(key) < 2:
|
||||
continue
|
||||
if key in SiteSettings.load().wordcloud_ignore_set:
|
||||
continue
|
||||
key_lower = key.lower()
|
||||
if key_lower not in word_frequencies:
|
||||
word_frequencies[key_lower] = 0
|
||||
word_frequencies[key_lower] += val
|
||||
if key not in word_frequencies:
|
||||
word_frequencies[key] = 0
|
||||
word_frequencies[key] += val
|
||||
|
||||
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="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">
|
||||
{% for library, in_version_library_data in library_index_libraries %}
|
||||
<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 %}
|
||||
{% if in_version_library_data %}
|
||||
<a href="#library-{{library.display_name}}" class="font-semibold">{{ library.name }}</a>
|
||||
{% else %}
|
||||
<span>{{ library.name }}</span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% if 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 %}
|
||||
<a href="#library-{{library.display_name}}" class="font-semibold">{{ library.name }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</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 %}
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user