()
| 240 | |
| 241 | |
| 242 | def build_sponsorship_json_ld() -> dict: |
| 243 | return { |
| 244 | "@context": "https://schema.org", |
| 245 | "@graph": [ |
| 246 | _website_node(), |
| 247 | { |
| 248 | "@type": "WebPage", |
| 249 | "@id": SPONSORSHIP_PUBLIC_URL, |
| 250 | "name": "Sponsor Awesome Python", |
| 251 | "url": SPONSORSHIP_PUBLIC_URL, |
| 252 | "description": SPONSORSHIP_DESCRIPTION, |
| 253 | "isPartOf": ISPARTOF_WEBSITE, |
| 254 | "inLanguage": "en", |
| 255 | }, |
| 256 | build_breadcrumb_json_ld( |
| 257 | [ |
| 258 | ("Awesome Python", SITE_URL), |
| 259 | ("Sponsorship", SPONSORSHIP_PUBLIC_URL), |
| 260 | ] |
| 261 | ), |
| 262 | ], |
| 263 | } |
| 264 | |
| 265 | |
| 266 | def category_path(category: ParsedSection) -> str: |
no test coverage detected