diff --git a/mkdocs.yml b/mkdocs.yml index 1eaab286..82fb95a0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -25,6 +25,7 @@ extra_css: - css/nav.css - css/partners.css - css/search.css + - css/team.css - css/tokens.css - css/utilities.css diff --git a/scripts/check-broken-links-md.py b/scripts/check-broken-links-md.py index 3cd2e679..37ea8165 100644 --- a/scripts/check-broken-links-md.py +++ b/scripts/check-broken-links-md.py @@ -37,11 +37,16 @@ def process_log() -> None: for line in log_err.splitlines(): line = line.strip() # noqa: PLW2901 # Check if the line starts with '(' - if line.startswith("("): - # Extract the URL using regex - for exception_url in exception_urls: - if exception_url not in line: - flagged_errors.append(line) + if not line.startswith("("): + continue + + if line.endswith("429)"): + # Too Many Requests http error + continue + # Extract the URL using regex + for exception_url in exception_urls: + if exception_url not in line: + flagged_errors.append(line) # Print flagged errors if not flagged_errors: diff --git a/theme/css/team.css b/theme/css/team.css new file mode 100644 index 00000000..497bf0eb --- /dev/null +++ b/theme/css/team.css @@ -0,0 +1,56 @@ +/* ===== Team page (scoped) ===== */ +.team-grid .card{ + border-radius: 1rem; + border: 1px solid var(--card-border, rgba(255,255,255,.12)); + background: var(--card-bg, rgba(20,24,33,.6)); + overflow: hidden; +} +[data-bs-theme="light"] .team-grid .card{ + background: #fff; + border-color: rgba(0,0,0,.08); +} + +.team-grid .card-img-top{ + display:block; + width:100%; + aspect-ratio: 4 / 3; /* keeps consistent header area */ + object-fit: cover; /* crops tall/wide headshots neatly */ +} + +.team-grid .card-title{ + font-size: 1.15rem; + margin-bottom: .25rem; +} + +/* Social icon row */ +.team-grid .social{ + display: flex; + align-items: center; + gap: .5rem; +} + +/* Tight, consistent SVG icon sizing + inherit theme color */ +.team-grid .social .icon{ + width: 22px; /* <- right here: fix HUGE icon */ + height: 22px; + display: inline-block; + vertical-align: middle; + fill: currentColor; /* ensure symbols use text color */ +} +.team-grid .social a{ + color: var(--fg, #e6e9f0); + opacity: .85; + text-decoration: none; +} +[data-bs-theme="light"] .team-grid .social a{ + color: #1f2937; +} +.team-grid .social a:hover{ + color: var(--brand, #3b82f6); + opacity: 1; +} + +/* Sponsor iframe wrapper spacing */ +.team-grid .sponsor{ + margin-top: .5rem; +} diff --git a/theme/team.html b/theme/team.html index 71eda052..2bd456b9 100644 --- a/theme/team.html +++ b/theme/team.html @@ -1,8 +1,12 @@ {% extends "base.html" %} +{% block header_extra %} + +{% endblock header_extra %} + {% block content %} -
-
+
+
{% block content_inner %} {{ page.content }} @@ -11,43 +15,54 @@
{% for group in page.meta["teams"] %} -
-
-

{{ group.name }}

-
+
+
+

{{ group.name }}

+ + +
{% for member in group.members %}
-
- -
-

{{ member.name }}

+
+ {% if member.image_url %} + {{ member.name }} + {% endif %} - - - github - - - +
+
+

{{ member.name }}

-

{{ member.bio }}

+ {% if member.github_url %} + + {% endif %} +
- {% if "github_sponsor" in member %} - Support his work on community and open source projects via: - - + {% if member.bio %} +

{{ member.bio }}

+ {% endif %} + {% if "github_sponsor" in member %} + {% endif %}
{% endfor %}
+
{% endfor %}