MCPcopy Index your code
hub / github.com/vinta/awesome-python / build_sponsorship_json_ld

Function build_sponsorship_json_ld

website/build.py:242–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241
242def 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
266def category_path(category: ParsedSection) -> str:

Callers 1

buildFunction · 0.85

Calls 2

_website_nodeFunction · 0.85
build_breadcrumb_json_ldFunction · 0.85

Tested by

no test coverage detected