Skip to content

Commit 22b3f63

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/kind-margulis
# Conflicts: # apps/website/content/docs-v2/getting-started/introduction.mdx # apps/website/src/app/docs/[[...slug]]/page.tsx # apps/website/src/app/global.css # apps/website/src/components/docs/MdxRenderer.tsx # apps/website/src/components/docs/mdx/Callout.tsx # apps/website/src/lib/extract-headings.ts # package-lock.json # package.json
2 parents 9d0e8d3 + 0f4002b commit 22b3f63

5 files changed

Lines changed: 27 additions & 0 deletions

File tree

apps/website/src/app/global.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ html {
135135
font-weight: 400;
136136
}
137137

138+
<<<<<<< HEAD
138139
.docs-prose { overflow-wrap: break-word; word-break: break-word; }
140+
=======
141+
>>>>>>> origin/main
139142
.docs-prose h1 { font-size: 1.875rem; font-weight: 700; margin-top: 0; margin-bottom: 1rem; font-family: var(--font-garamond); }
140143
.docs-prose h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; font-family: var(--font-garamond); }
141144
.docs-prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; font-family: var(--font-garamond); }

apps/website/src/components/docs/MdxRenderer.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import { CodeGroup } from './mdx/CodeGroup';
88
import { DocsBreadcrumb } from './DocsBreadcrumb';
99
import { DocsPrevNext } from './DocsPrevNext';
1010
import rehypePrettyCode from 'rehype-pretty-code';
11+
<<<<<<< HEAD
1112
import rehypeSlug from 'rehype-slug';
13+
=======
14+
>>>>>>> origin/main
1215

1316
const mdxComponents = {
1417
Callout,
@@ -35,7 +38,11 @@ interface NewProps {
3538

3639
export function MdxRendererNew({ source, section, slug, title }: NewProps) {
3740
return (
41+
<<<<<<< HEAD
3842
<div className="flex-1 py-8 px-4 sm:px-6 md:px-12 md:max-w-3xl overflow-x-hidden">
43+
=======
44+
<div className="flex-1 py-8 px-6 md:px-12 max-w-3xl">
45+
>>>>>>> origin/main
3946
<DocsBreadcrumb section={section} title={title} />
4047
<article className="docs-prose prose prose-slate max-w-none"
4148
style={{
@@ -49,7 +56,11 @@ export function MdxRendererNew({ source, section, slug, title }: NewProps) {
4956
components={mdxComponents}
5057
options={{
5158
mdxOptions: {
59+
<<<<<<< HEAD
5260
rehypePlugins: [rehypeSlug, [rehypePrettyCode, rehypeOptions] as any],
61+
=======
62+
rehypePlugins: [[rehypePrettyCode, rehypeOptions] as any],
63+
>>>>>>> origin/main
5364
},
5465
}}
5566
/>

apps/website/src/lib/extract-headings.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ export function extractHeadings(source: string): DocHeading[] {
2020
const match = line.match(/^(#{2,3})\s+(.+)$/);
2121
if (match) {
2222
const text = match[2].replace(/`/g, '');
23+
<<<<<<< HEAD
2324
// Match rehype-slug's GitHub-style slugification
2425
const id = text.toLowerCase().replace(/[^\w\s-]/g, '').replace(/\s+/g, '-').replace(/^-+|-+$/g, '');
26+
=======
27+
const id = text.toLowerCase().replace(/[^\w\s-]/g, '').replace(/\s+/g, '-');
28+
>>>>>>> origin/main
2529
headings.push({ id, text, level: match[1].length });
2630
}
2731
}

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@
7777
"react": "^19.0.0",
7878
"react-dom": "^19.0.0",
7979
"rehype-pretty-code": "^0.14.3",
80+
<<<<<<< HEAD
8081
"rehype-slug": "^6.0.0",
82+
=======
83+
>>>>>>> origin/main
8184
"rxjs": "~7.8.0",
8285
"shiki": "^4.0.2"
8386
},

0 commit comments

Comments
 (0)