From 367630e21c42aaf25b37ea9c386f8f33b104ad29 Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Fri, 8 Nov 2024 16:29:00 -0500 Subject: [PATCH] feat(meta): Add `link.bluesky` --- docs/brand/meta.qmd | 3 ++- docs/pkg/py/meta.qmd | 1 + pkg-py/src/brand_yml/meta.py | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/brand/meta.qmd b/docs/brand/meta.qmd index 56c82c1..de248fe 100644 --- a/docs/brand/meta.qmd +++ b/docs/brand/meta.qmd @@ -41,6 +41,7 @@ meta: home: https://www.acmecorp.com docs: https://docs.acmecorp.com github: https://github.com/acmecorp + bluesky: https://bsky.app/profile/acmecorp.bsky.social twitter: https://twitter.com/acmecorp linkedin: https://www.linkedin.com/company/acmecorp facebook: https://www.facebook.com/acmecorp @@ -92,7 +93,7 @@ The `link` field can also be specified in two ways: link: home: https://www.acmecorp.com github: https://github.com/acmecorp - twitter: https://twitter.com/acmecorp + bluesky: https://bsky.app/profile/acmecorp.bsky.social linkedin: https://www.linkedin.com/company/acmecorp ``` diff --git a/docs/pkg/py/meta.qmd b/docs/pkg/py/meta.qmd index b429f25..a09469e 100644 --- a/docs/pkg/py/meta.qmd +++ b/docs/pkg/py/meta.qmd @@ -129,6 +129,7 @@ but only the attributes listed below are validated. | Name | Description | | --- | --- | +| [bluesky](#brand_yml.meta.BrandMetaLink.bluesky) | Bluesky link for the brand or company. | | [facebook](#brand_yml.meta.BrandMetaLink.facebook) | Facebook link for the brand or company. | | [github](#brand_yml.meta.BrandMetaLink.github) | GitHub link for the brand or company. | | [home](#brand_yml.meta.BrandMetaLink.home) | Home website link for the brand or company. | diff --git a/pkg-py/src/brand_yml/meta.py b/pkg-py/src/brand_yml/meta.py index 5637023..f90967d 100644 --- a/pkg-py/src/brand_yml/meta.py +++ b/pkg-py/src/brand_yml/meta.py @@ -163,6 +163,11 @@ class BrandMetaLink(BrandBase): examples=["https://linkedin.com/company/very-big-corp"], ) """LinkedIn link for the brand or company.""" + bluesky: HttpUrl | None = Field( + None, + examples=["https://bsky.app/profile/VeryBigCorp.bsky.social"], + ) + """Bluesky link for the brand or company.""" twitter: HttpUrl | None = Field( None, examples=["https://twitter.com/VeryBigCorp"],