-
-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into hd-feat-tabs-sync
- Loading branch information
Showing
87 changed files
with
4,785 additions
and
715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@astrojs/starlight': patch | ||
--- | ||
|
||
Prevent Starlight crashing when the content folder doesn't exist, or is empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@astrojs/starlight": patch | ||
--- | ||
|
||
Fix content collection schema compatibility with Astro 3.1 and higher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@astrojs/starlight": patch | ||
--- | ||
|
||
Fix Dutch UI translation for “Previous page” links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Apply with: | ||
# `git config --local blame.ignoreRevsFile .git-blame-ignore-revs` | ||
|
||
# [Add Prettier and format files](https://github.com/withastro/starlight/pull/393) | ||
9b172f5ee09697d80f301e9b70aca1946419ce24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
prefer-workspace-packages=true | ||
link-workspace-packages=true | ||
shell-emulator=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
import Card from './showcase-card.astro'; | ||
import FluidGrid from './fluid-grid.astro'; | ||
--- | ||
|
||
<FluidGrid> | ||
<Card title="Athena OS" href="https://athenaos.org" thumbnail="www.athenaos.org.png" /> | ||
<Card | ||
title="PubIndexAPI Docs" | ||
href="https://docs.pubindexapi.com/" | ||
thumbnail="docs.pubindexapi.com.png" | ||
/> | ||
<Card title="pls" href="https://dhruvkb.github.io/pls" thumbnail="dhruvkb.github.io-pls.png" /> | ||
<Card title="capo.js" href="https://rviscomi.github.io/capo.js/" thumbnail="capo.js.png" /> | ||
<Card | ||
title="Web Monetization API" | ||
href="https://webmonetization.org/" | ||
thumbnail="webmonetization.org.png" | ||
/> | ||
<Card | ||
title="QBCore Docs" | ||
href="https://brycerussell.github.io/qbcore-docs/" | ||
thumbnail="brycerussell.github.io-qbcore-docs.png" | ||
/> | ||
<Card title="har.fyi" href="https://har.fyi/" thumbnail="har.fyi.png" /> | ||
<Card title="xs-dev docs" href="https://xs-dev.js.org" thumbnail="xs-dev.js.org.png" /> | ||
<Card title="Felicity" href="https://felicity.pages.dev/" thumbnail="felicity.pages.dev.png" /> | ||
<Card | ||
title="NgxEditor" | ||
href="https://sibiraj-s.github.io/ngx-editor/" | ||
thumbnail="sibiraj-s.github.io-ngx-editor.png" | ||
/> | ||
<Card | ||
title="Astro Error Pages" | ||
href="https://astro-error-page-documentation.vercel.app/" | ||
thumbnail="astro-error-page-documentation.vercel.app.png" | ||
/> | ||
<Card title="Terrateam Docs" href="https://terrateam.io/docs" thumbnail="terrateam.io-docs.png" /> | ||
<Card | ||
title="simple-fm" | ||
href="https://simple.arciniega.one" | ||
thumbnail="simple.arciniega.one.png" | ||
/> | ||
<Card | ||
title="Obytes Starter" | ||
href="https://starter.obytes.com" | ||
thumbnail="starter.obytes.com.jpg" | ||
/> | ||
<Card title="Kanri" href="https://kanriapp.com" thumbnail="kanriapp.com.png" /> | ||
<Card | ||
title="VRCFR Creator" | ||
href="https://dev.vrchatfrance.fr" | ||
thumbnail="dev.vrchatfrance.fr.png" | ||
/> | ||
<Card title="Refact" href="https://docs.refact.ai/" thumbnail="refact.ai.png" /> | ||
</FluidGrid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
import type { AutoSidebarGroup, SidebarItem } from '../../../packages/starlight/utils/user-config'; | ||
import SidebarSublist from '../../../packages/starlight/components/SidebarSublist.astro'; | ||
import type { SidebarEntry } from '../../../packages/starlight/utils/navigation'; | ||
interface Props { | ||
config: SidebarConfig; | ||
} | ||
type SidebarConfig = Exclude<SidebarItem, AutoSidebarGroup>[]; | ||
const { config } = Astro.props; | ||
function makeEntries(items: SidebarConfig): SidebarEntry[] { | ||
return items.map((item) => { | ||
if ('link' in item) { | ||
return { | ||
type: 'link', | ||
label: item.label, | ||
href: item.link, | ||
isCurrent: false, | ||
badge: item.badge, | ||
}; | ||
} | ||
item; | ||
return { | ||
type: 'group', | ||
label: item.label, | ||
entries: makeEntries(item.items as SidebarConfig), | ||
collapsed: item.collapsed, | ||
}; | ||
}); | ||
} | ||
--- | ||
|
||
<div class="sidebar-preview not-content"> | ||
<SidebarSublist sublist={makeEntries(config)} /> | ||
</div> | ||
|
||
<style> | ||
.sidebar-preview { | ||
background-color: var(--sl-color-bg-sidebar); | ||
border: 1px solid var(--sl-color-gray-5); | ||
padding: 1rem var(--sl-sidebar-pad-x); | ||
max-width: var(--sl-sidebar-width); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.