Skip to content
Merged
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
18 changes: 10 additions & 8 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineConfig } from 'astro/config';
import { defineConfig, passthroughImageService } from 'astro/config';
import starlight from '@astrojs/starlight';
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers';
import starlightLlmsTxt from 'starlight-llms-txt';

const site = 'https://starter.obytes.com/';
Expand All @@ -24,9 +23,9 @@ export default defineConfig({
components: {
LastUpdated: './src/components/LastUpdated.astro',
},
social: {
github: 'https://github.com/obytes/react-native-template-obytes',
},
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/obytes/react-native-template-obytes' },
],
head: [
{
tag: 'meta',
Expand Down Expand Up @@ -232,10 +231,13 @@ export default defineConfig({
lastUpdated: true,
}),
],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: {
service: {
entrypoint: 'astro/assets/services/sharp',
service: passthroughImageService(),
},
// Prevent Vite from externalizing zod, which conflicts with the root project's zod@4
vite: {
ssr: {
noExternal: ['zod'],
},
},
});
9 changes: 0 additions & 9 deletions docs/ec.config.mjs

This file was deleted.

5 changes: 2 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.31.1",
"@astrojs/starlight": "^0.37.6",
"@expressive-code/plugin-collapsible-sections": "^0.33.4",
"@expressive-code/plugin-line-numbers": "^0.33.4",
"@fontsource/ibm-plex-mono": "^5.0.8",
"@fontsource/ibm-plex-serif": "^5.0.8",
"astro": "^5.1.10",
"astro": "^5.17.1",
"hast-util-to-html": "^9.0.0",
"sharp": "^0.32.3",
"starlight-llms-txt": "^0.4.0"
}
}
4,151 changes: 1,803 additions & 2,348 deletions docs/pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions docs/src/components/LastUpdated.astro
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
---
import type { Props } from '@astrojs/starlight/props';
import Default from '@astrojs/starlight/components/LastUpdated.astro';
import Comments from './Comments.astro';

const { lastUpdated } = Astro.props;
const { lastUpdated } = Astro.locals.starlightRoute;

---

{
lastUpdated && (
<div class="container">
<div class="last-updated">
<Default {...Astro.props}><slot /></Default>
<Default /><slot />
</div>
<Comments />
</div>
Expand Down
8 changes: 8 additions & 0 deletions docs/src/content.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineCollection } from 'astro:content';
import { docsLoader, i18nLoader } from '@astrojs/starlight/loaders';
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema';

export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema() }),
};
7 changes: 0 additions & 7 deletions docs/src/content/config.ts

This file was deleted.

4 changes: 2 additions & 2 deletions docs/src/content/docs/ci-cd/workflows-references.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ All actions are located in the `.github/actions` folder, and here is the complet

<CodeBlock file=".github/workflows/new-github-release.yml" />

### ⚙️ EAS Build QA
### ⚙️ EAS Build Preview

<CodeBlock file=".github/workflows/eas-build-qa.yml" />
<CodeBlock file=".github/workflows/eas-build-preview.yml" />

### ⚙️ EAS Build Prod

Expand Down