Skip to content

Commit d84c97e

Browse files
committed
docs: resolve issues with astro docs
1 parent 977c038 commit d84c97e

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

documentation/astro.config.mts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,18 @@ export default defineConfig({
457457
alt: 'logo'
458458
},
459459
title: 'Switch eShop API Wrapper',
460-
social: {
461-
github: 'https://github.com/favna/nintendo-switch-eshop',
462-
twitter: 'https://twitter.com/favna_'
463-
},
460+
social: [
461+
{
462+
icon: 'github',
463+
label: 'GitHub',
464+
href: 'https://github.com/favna/nintendo-switch-eshop'
465+
},
466+
{
467+
icon: 'twitter',
468+
label: 'Twitter',
469+
href: 'https://twitter.com/favna_'
470+
}
471+
],
464472
sidebar: [typeDocSidebarGroup],
465473
plugins: [
466474
// Generate the documentation.
@@ -469,7 +477,7 @@ export default defineConfig({
469477
tsconfig: '../src/tsconfig.json',
470478
pagination: true,
471479
sidebar: {
472-
label: 'Documenation'
480+
label: 'Documentation'
473481
},
474482
typeDoc: {
475483
readme: './src/assets/readme.md',

documentation/src/components/starlight/ThemeProvider.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
import type { Props } from '@astrojs/starlight/props';
32
import Icon from '../../../../node_modules/@astrojs/starlight/user-components/Icon.astro';
43
import { pwaInfo } from 'virtual:pwa-info';
54
---

src/lib/utils/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ export interface QueriedGameUS {
400400
price: {
401401
/**
402402
* The final price for this game,
403-
* which is {@link QueriedGameUS.price.salePrice} if the game is on sale or {@link QueriedGameUS.price.regPrice} if it is not.
403+
* which is `salePrice` if the game is on sale or `regPrice` if it is not.
404404
*/
405405
finalPrice: number;
406406
/**

0 commit comments

Comments
 (0)