Skip to content

Commit a9f80a0

Browse files
authored
Merge branch 'main' into blog-vercel-to-sites
2 parents 2daa743 + c39be85 commit a9f80a0

File tree

86 files changed

+2555
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+2555
-123
lines changed

STYLE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,21 +144,21 @@ the tone and voice remains consistent.
144144
- All titles, headings, buttons, and labels should be written in **sentence case**. If you're not sure what sentence case should look like, check [APA's style guide](https://apastyle.apa.org/style-grammar-guidelines/capitalization/sentence-case) or check with ChatGPT and other LLMs which reliably converts titles to sentence case.
145145
- All headings in a docs page begin with `# Heading` then `## Heading` and `### Heading`. Internally, they're converted to H2 to H4 tags.
146146
- All headings should have an ID label, for example `# Cool heading {% #cool-heading %}` the `#cool-heading` ID will be used to generate the table of contents and add links to the heading.
147-
- Prefer verbs over gerunds, for example, say "Create documents" not "Creating documents".
147+
- Prefer verbs to gerunds, for example, say "Create documents" not "Creating documents".
148148

149149
### Extended Markdoc components
150150

151-
Appwrite's documentation uses extended markdown syntax. You can find all of the available partials types in the [CONTENT.md file](./CONTENT.md).
151+
Appwrite's documentation uses extended Markdown syntax. You can find all the available partials types in the [CONTENT.md file](./CONTENT.md).
152152

153153
### Screenshots
154154

155155
- When contributing upload original screenshots. The Appwrite design team will edit the screenshot to be consistent with other screenshots in the docs.
156156
- Screenshots must be 16:9
157-
- Screnshots should be taken in a 1400 x 900 view port on 3x DPR in browser developer tools.
157+
- Screenshots should be taken in a 1400 x 900 view port on 3x DPR in browser developer tools.
158158
- Use generic and sensible organization, project, and resource names. Avoid names like `test`, `demo`, or `sdlkfj`.
159-
- All screenshot should be take from a user named Walter O'Brien. You can change the name of your current user by going to your Appwrite Console and clicking the **top right profile icon** > **Your Account** > **Name**.
159+
- All screenshot should be taken from a user named Walter O'Brien. You can change the name of your current user by going to your Appwrite Console and clicking the **top right profile icon** > **Your Account** > **Name**.
160160
- Screenshots are stored in the `/images/docs/` folder, in a parent folder that is consistent with the path of the docs that reference the image.
161-
- All screenshots must be both dark and light mode, with `/path/` holding the lightmode version and `/path/dark/` holding the dark mode version.
161+
- All screenshots must be both dark and light mode, with `/path/` holding the light-mode version and `/path/dark/` holding the dark mode version.
162162
- Screenshots should be uploaded as un-edited original. Request help from the Appwrite design team to help you edit and refine your photos according to our guidelines.
163163

164164
```md

src/lib/constants.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ export type SearchableCategory = {
6666
};
6767

6868
export const integrationCategoryDescriptions: SearchableCategory[] = [
69+
{
70+
slug: 'mcp',
71+
heading: 'MCP',
72+
description: 'Platforms with Model Context Protocol support'
73+
},
6974
{
7075
slug: 'ai',
7176
heading: 'AI',

src/lib/layouts/Docs.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
</div>
132132
</section>
133133
<header
134-
class="web-main-header {isReferences ? 'is-reference' : 'is-docs'}"
134+
class="web-main-header hidden lg:block {isReferences ? 'is-reference' : 'is-docs'}"
135135
class:is-transparent={variant !== 'expanded'}
136136
>
137137
<div class="web-main-header-wrapper">

src/lib/layouts/Main.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@
196196
</div>
197197
</section>
198198

199-
<header class="web-main-header is-special-padding {resolvedTheme} is-transparent">
199+
<header
200+
class="web-main-header is-special-padding hidden lg:block {resolvedTheme} is-transparent"
201+
>
200202
<div
201203
class="web-main-header-wrapper"
202204
class:is-special-padding={BANNER_KEY.startsWith('init-banner-')}

src/lib/layouts/SidebarNavButton.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
class:is-selected={page.url?.pathname === groupItem.href}
1111
href={groupItem.href}
1212
target={groupItem.openInNewTab ? '_blank' : undefined}
13-
data-sveltekit-reload
1413
>
1514
{#if groupItem.icon}
1615
<span class="icon {groupItem.icon}" aria-hidden="true"></span>

src/markdoc/layouts/Partner.svelte

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
category,
2222
description,
2323
cover,
24-
capabilities,
25-
frameworks,
24+
services,
25+
technologies,
2626
regions,
2727
languages,
2828
website,
@@ -87,29 +87,29 @@
8787
<dl class="divide-smooth sticky top-32 mt-10 flex flex-col gap-7 divide-y">
8888
<div class="flex flex-col justify-between gap-7 pb-7">
8989
<dt class="text-micro font-aeonik-fono tracking-loose uppercase">
90-
Frameworks
90+
Technologies
9191
</dt>
9292
<dd class="flex flex-wrap gap-2">
93-
{#each frameworks as framework}
93+
{#each technologies as technology}
9494
<div
9595
class="text-primary text-caption bg-smooth rounded-full px-3 py-1"
9696
>
97-
{framework}
97+
{technology}
9898
</div>
9999
{/each}
100100
</dd>
101101
</div>
102102

103103
<div class="flex flex-col justify-between gap-7 pb-7">
104104
<dt class="text-micro font-aeonik-fono tracking-loose uppercase">
105-
Capabilities
105+
Services
106106
</dt>
107107
<dd class="flex flex-wrap gap-2">
108-
{#each capabilities as capability}
108+
{#each services as service}
109109
<div
110110
class="text-primary text-caption bg-smooth rounded-full px-3 py-1"
111111
>
112-
{capability}
112+
{service}
113113
</div>
114114
{/each}
115115
</dd>

src/markdoc/nodes/Image.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{/if}
4343
{:else}
4444
<div class="web-media main">
45-
<img {src} {alt} {title} loading="lazy" class="aspect-video w-full" />
45+
<img {src} {alt} {title} loading="lazy" class="aspect-video w-full object-cover" />
4646
<div class="abs">
4747
<Tooltip closeOnPointerDown>
4848
<Button variant="secondary" class="cursor-pointer" action={trigger}>

src/markdoc/tags/TabsItem.svelte

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
context.triggers.push({ id, title });
1212
return context;
1313
});
14+
15+
return () => {
16+
ctx.update((context) => {
17+
context.triggers = context.triggers.filter((trigger) => trigger.id !== id);
18+
return context;
19+
});
20+
};
1421
});
1522
</script>
1623

src/routes/(marketing)/(components)/scale.svelte

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@
2525
children,
2626
stats = [
2727
{
28-
number: 12,
29-
suffix: '+',
30-
description: 'Regions served'
28+
number: 50,
29+
suffix: 'K+',
30+
description: 'GitHub stars'
3131
},
3232
{
33-
number: 1000,
34-
suffix: '+ TB',
35-
description: 'of data served'
33+
number: 300,
34+
suffix: '+',
35+
description: 'PoP locations'
3636
},
3737
{
38-
number: 50,
39-
suffix: 'B',
40-
description: 'requests'
38+
number: 300,
39+
suffix: 'K+',
40+
description: 'developers'
4141
},
4242
{
43-
number: 300,
44-
suffix: 'K',
45-
description: 'projects'
43+
number: 200,
44+
suffix: 'B+',
45+
description: 'monthly database operations'
4646
}
4747
]
4848
}: Props = $props();

src/routes/(marketing)/+page.svelte

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,6 @@
4343
company: 'K-Collect',
4444
image: '/images/testimonials/ryan-oconner-testimonial.png'
4545
}}
46-
stats={[
47-
{
48-
number: 50,
49-
suffix: 'K+',
50-
description: 'GitHub stars'
51-
},
52-
{
53-
number: 300,
54-
suffix: '+',
55-
description: 'PoP locations'
56-
},
57-
{
58-
number: 300,
59-
suffix: 'K+',
60-
description: 'developers'
61-
},
62-
{
63-
number: 200,
64-
suffix: 'B+',
65-
description: 'monthly database operations'
66-
}
67-
]}
6846
>
6947
The switch to using Appwrite brought
7048
<span class="text-primary">infinite value that I'm still discovering today.</span>

0 commit comments

Comments
 (0)