Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@astrojs/check": "^0.9.10",
"@astrojs/markdown-satteri": "^0.3.8",
"@astrojs/sitemap": "^3.7.3",
"@astrojs/starlight": "0.41.8",
"@astrojs/starlight": "https://pkg.pr.new/@astrojs/starlight@3572",
"@expressive-code/plugin-collapsible-sections": "^0.44.1",
"@lunariajs/core": "https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@722c34c",
"canvas-confetti": "^1.6.0",
Expand Down
13 changes: 7 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/components/starlight/MobileTableOfContents.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { Icon } from '@astrojs/starlight/components';
import TableOfContentsList from '../../../node_modules/@astrojs/starlight/components-internals/TableOfContents/TableOfContentsList.astro';
import TableOfContentsList from '../../../node_modules/@astrojs/starlight/dist/components-internals/TableOfContents/TableOfContentsList.astro';
import TutorialNav from '../tutorial/TutorialNav.astro';

const { entry, toc } = Astro.locals.starlightRoute;
Expand Down Expand Up @@ -118,7 +118,7 @@ const isTutorial = entry.id.split('/')[1] === 'tutorial';
</style>

<script>
import { StarlightTOC } from '../../../node_modules/@astrojs/starlight/components-internals/TableOfContents/starlight-toc';
import { StarlightTOC } from '../../../node_modules/@astrojs/starlight/dist/components-internals/TableOfContents/starlight-toc.mjs';

class MobileStarlightTOC extends StarlightTOC {
override set current(link: HTMLAnchorElement) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/starlight/Sidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Icon } from '@astrojs/starlight/components';
import SidebarPersister from '@astrojs/starlight/components/SidebarPersister.astro';
import SidebarSublist from '@astrojs/starlight/components/SidebarSublist.astro';
import type { StarlightRouteData } from '@astrojs/starlight/route-data';
import { stripLeadingAndTrailingSlashes } from '../../../node_modules/@astrojs/starlight/utils/path';
import { stripLeadingAndTrailingSlashes } from '../../../node_modules/@astrojs/starlight/dist/utils/path.mjs';
import { allPages } from '~/content';
import { isSubPage } from '~/util/isSubPage';
import { stripLangFromSlug } from '~/util/path-utils';
Expand Down
4 changes: 2 additions & 2 deletions src/components/starlight/TableOfContents.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import TableOfContentsList from '../../../node_modules/@astrojs/starlight/components-internals/TableOfContents/TableOfContentsList.astro';
import TableOfContentsList from '../../../node_modules/@astrojs/starlight/dist/components-internals/TableOfContents/TableOfContentsList.astro';
import TutorialNav from '../tutorial/TutorialNav.astro';

const { entry, toc } = Astro.locals.starlightRoute;
Expand All @@ -23,5 +23,5 @@ const isTutorial = entry.id.split('/')[1] === 'tutorial';
}

<script
src="../../../node_modules/@astrojs/starlight/components-internals/TableOfContents/starlight-toc"
src="../../../node_modules/@astrojs/starlight/dist/components-internals/TableOfContents/starlight-toc.mjs"
></script>
Loading