docs: add emoji font

This commit is contained in:
Maël Gangloff 2025-12-02 22:27:00 +01:00
parent 930dfc690f
commit 9326b29728
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
3 changed files with 9 additions and 2 deletions

View File

@ -156,14 +156,15 @@ _paq.push(['enableHeartBeatTimer']);
}), }),
starlightOpenAPI([ starlightOpenAPI([
{ {
base: 'interoperability/api', base: 'en/interoperability/api',
schema: 'swagger_docs.json', schema: 'swagger_docs.json',
sidebar: {operations: {badges: true}, group: domainWatchdogSidebarGroup} sidebar: {operations: {badges: true}, group: domainWatchdogSidebarGroup}
}, },
]), ]),
], ],
customCss: [ customCss: [
'./src/styles/index.css' './src/styles/index.css',
'@fontsource/noto-color-emoji/400.css'
] ]
}), }),
mermaid() mermaid()

View File

@ -17,6 +17,7 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/starlight": "^0.36.2", "@astrojs/starlight": "^0.36.2",
"@fontsource/noto-color-emoji": "^5.2.10",
"astro": "^5.6.1", "astro": "^5.6.1",
"astro-mermaid": "^1.1.0", "astro-mermaid": "^1.1.0",
"mermaid": "^11.12.1", "mermaid": "^11.12.1",

View File

@ -413,6 +413,11 @@
dependencies: dependencies:
"@expressive-code/core" "^0.41.3" "@expressive-code/core" "^0.41.3"
"@fontsource/noto-color-emoji@^5.2.10":
version "5.2.10"
resolved "https://registry.yarnpkg.com/@fontsource/noto-color-emoji/-/noto-color-emoji-5.2.10.tgz#4ba2039afddecf48c812107766c613289a106780"
integrity sha512-sHu7Z2zkdmPbcNlNgqyQGJEis6fE3eBY8ZXzaUe5ixci2uCQ3g8cX5hJM+5P45JxTEhdbiU/4k3chQmDxe5puQ==
"@humanwhocodes/momoa@^2.0.3": "@humanwhocodes/momoa@^2.0.3":
version "2.0.4" version "2.0.4"
resolved "https://registry.yarnpkg.com/@humanwhocodes/momoa/-/momoa-2.0.4.tgz#8b9e7a629651d15009c3587d07a222deeb829385" resolved "https://registry.yarnpkg.com/@humanwhocodes/momoa/-/momoa-2.0.4.tgz#8b9e7a629651d15009c3587d07a222deeb829385"