Skip to content

docs: fix configuration links and add sites card#2820

Open
AdithRavi wants to merge 1 commit intoappwrite:mainfrom
AdithRavi:main
Open

docs: fix configuration links and add sites card#2820
AdithRavi wants to merge 1 commit intoappwrite:mainfrom
AdithRavi:main

Conversation

@AdithRavi
Copy link
Copy Markdown

@AdithRavi AdithRavi commented Mar 19, 2026

What does this PR do?

This PR fixes broken documentation links in the Self-Hosting section. The links previously pointed to a separate configuration page that no longer exists; they now point to the #configuration heading on the same page. Additionally, I added the "Appwrite Sites" card to the configuration grid.

Test Plan

I manually verified the markdown links and ensured the cards_item syntax matches the existing structure of the documentation.

Related PRs and Issues

Fixes #2498

Have you read the Contributing Guidelines on issues?

Yes.

Summary by CodeRabbit

  • Documentation
    • Updated internal documentation links throughout the self-hosting guide to improve navigation consistency across configuration sections.
    • Reorganized configuration-related documentation (email delivery, storage backends, SMS delivery) to use anchor-based navigation for quick access.
    • Added new "Appwrite Sites" documentation card to the available resources.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 19, 2026

Walkthrough

Updated internal navigation links in the self-hosting documentation page. The "Configure services" step now references email and storage using a local anchor (#configuration) instead of separate subroute links (/configuration/email and /configuration/storage). Configuration card components ("Email delivery," "SMS Delivery," "Storage Backends") have been updated to point to the same anchor. A new "Appwrite Sites" card linking to /docs/products/sites has been added to the documentation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title clearly and concisely summarizes the main changes: fixing configuration links and adding a sites card to the documentation.
Linked Issues check ✅ Passed The PR successfully addresses both requirements from issue #2498: updating broken links to point to the #configuration anchor and adding the Appwrite Sites card.
Out of Scope Changes check ✅ Passed All changes are directly related to fixing broken self-hosting documentation links and adding the Appwrite Sites card as requested in issue #2498.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can customize the tone of the review comments and chat replies.

Configure the tone_instructions setting to customize the tone of the review comments and chat replies. For example, you can set the tone to Act like a strict teacher, Act like a pirate and more.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/routes/docs/advanced/self-hosting/`+page.markdoc:
- Around line 136-138: The cards_item block with title "Appwrite Sites"
currently uses href="/docs/products/sites"; update that href to point to the
self-hosting configuration page (e.g.,
"/docs/advanced/self-hosting/configuration/sites") so the link is consistent
with the surrounding self-hosting configuration links — locate the {% cards_item
href="..." title="Appwrite Sites" %} block and replace the href value
accordingly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: cd2aeec7-d77d-4c47-b63c-bf0576f06ad2

📥 Commits

Reviewing files that changed from the base of the PR and between 03a0dd1 and 2d41a96.

📒 Files selected for processing (1)
  • src/routes/docs/advanced/self-hosting/+page.markdoc

Comment on lines +136 to +138
{% cards_item href="/docs/products/sites" title="Appwrite Sites" %}
Deploy and manage your web apps with ease using Appwrite's hosting solution.
{% /cards_item %}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Appwrite Sites card target is inconsistent with the surrounding self-hosting configuration links.

On Line 136, href="/docs/products/sites" points to product docs, while this grid is specifically self-hosting configuration. Consider linking to the self-hosting sites configuration page (for example, /docs/advanced/self-hosting/configuration/sites) for consistency and task relevance.

Suggested patch
-{% cards_item href="/docs/products/sites" title="Appwrite Sites" %}
+{% cards_item href="/docs/advanced/self-hosting/configuration/sites" title="Appwrite Sites" %}
 Deploy and manage your web apps with ease using Appwrite's hosting solution.
 {% /cards_item %}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{% cards_item href="/docs/products/sites" title="Appwrite Sites" %}
Deploy and manage your web apps with ease using Appwrite's hosting solution.
{% /cards_item %}
{% cards_item href="/docs/advanced/self-hosting/configuration/sites" title="Appwrite Sites" %}
Deploy and manage your web apps with ease using Appwrite's hosting solution.
{% /cards_item %}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/routes/docs/advanced/self-hosting/`+page.markdoc around lines 136 - 138,
The cards_item block with title "Appwrite Sites" currently uses
href="/docs/products/sites"; update that href to point to the self-hosting
configuration page (e.g., "/docs/advanced/self-hosting/configuration/sites") so
the link is consistent with the surrounding self-hosting configuration links —
locate the {% cards_item href="..." title="Appwrite Sites" %} block and replace
the href value accordingly.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 19, 2026

Greptile Summary

This PR intends to fix broken documentation links in the Self-Hosting configuration section and add an "Appwrite Sites" card to the configuration grid. However, the core premise of the fix is incorrect — the dedicated configuration sub-pages the original links pointed to (/docs/advanced/self-hosting/configuration/email, /docs/advanced/self-hosting/configuration/sms, /docs/advanced/self-hosting/configuration/storage) still exist with full content. Replacing them with a generic #configuration anchor is a regression, not a fix.

  • The three changed card links (Email delivery, SMS Delivery, Storage Backends) and the two inline quick-start links should be reverted to their original specific URLs, which are valid.
  • The Functions Runtime card was correctly left untouched, pointing to its dedicated page — the other cards should follow the same pattern.
  • The new "Appwrite Sites" card links to /docs/products/sites (a general product page), but a dedicated self-hosting configuration page already exists at /docs/advanced/self-hosting/configuration/sites and would be the appropriate target for this section.

Confidence Score: 1/5

  • Not safe to merge — the PR replaces three working, specific documentation links with a generic anchor based on a false premise that the target pages no longer exist.
  • The dedicated configuration pages for email, SMS, and storage all exist and have substantial content. Merging this PR would degrade the user experience by silently breaking deep-links to those guides. The new Sites card also points to an incorrect target URL.
  • src/routes/docs/advanced/self-hosting/+page.markdoc requires attention for all three issues described above.

Important Files Changed

Filename Overview
src/routes/docs/advanced/self-hosting/+page.markdoc Three existing, content-rich configuration sub-pages (email, SMS, storage) are incorrectly replaced with a generic #configuration anchor; the new Appwrite Sites card links to the general product page instead of the dedicated self-hosting configuration page.

Last reviewed commit: "Update links for con..."

1. **Use a one-click deployment** - Choose from [marketplace installations](#one-click-deployments) for instant setup
2. **Or follow the manual installation** - Use our [Docker installation guide](/docs/advanced/self-hosting/installation) for custom setups
3. **Configure services** - Set up [email](/docs/advanced/self-hosting/configuration/email), [storage](/docs/advanced/self-hosting/configuration/storage), and other services
3. **Configure services** - Set up [email](/docs/advanced/self-hosting#configuration), [storage](/docs/advanced/self-hosting#configuration), and other services
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Existing dedicated pages replaced with generic anchor

The PR replaces specific, meaningful links with a generic #configuration anchor, but the dedicated sub-pages actually exist and have full content:

  • /docs/advanced/self-hosting/configuration/emailsrc/routes/docs/advanced/self-hosting/configuration/email/+page.markdoc ✅ exists
  • /docs/advanced/self-hosting/configuration/smssrc/routes/docs/advanced/self-hosting/configuration/sms/+page.markdoc ✅ exists
  • /docs/advanced/self-hosting/configuration/storagesrc/routes/docs/advanced/self-hosting/configuration/storage/+page.markdoc ✅ exists

The original links were correct. Pointing all three to #configuration degrades the user experience by dropping them at a section overview instead of directly onto the relevant configuration guide. Note that the Functions Runtime card still correctly links to its own dedicated page (/docs/advanced/self-hosting/configuration/functions) — these three cards should follow the same pattern.

Suggested change
3. **Configure services** - Set up [email](/docs/advanced/self-hosting#configuration), [storage](/docs/advanced/self-hosting#configuration), and other services
3. **Configure services** - Set up [email](/docs/advanced/self-hosting/configuration/email), [storage](/docs/advanced/self-hosting/configuration/storage), and other services

Comment on lines +121 to 131
{% cards_item href="/docs/advanced/self-hosting#configuration" title="Email delivery" %}
Set up SMTP providers for user verification, password recovery, and notifications.
{% /cards_item %}

{% cards_item href="/docs/advanced/self-hosting/configuration/sms" title="SMS Delivery" %}
{% cards_item href="/docs/advanced/self-hosting#configuration" title="SMS Delivery" %}
Configure SMS providers for phone authentication and two-factor authentication.
{% /cards_item %}

{% cards_item href="/docs/advanced/self-hosting/configuration/storage" title="Storage Backends" %}
{% cards_item href="/docs/advanced/self-hosting#configuration" title="Storage Backends" %}
Connect external storage providers like AWS S3, Backblaze, or Wasabi.
{% /cards_item %}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Configuration cards link to generic anchor instead of dedicated pages

The three cards below were changed to point to #configuration (the current page's own section heading), but their dedicated configuration pages still exist and contain comprehensive content. Users clicking any of these cards will land at the top-level configuration section rather than the specific guide they need.

The correct links should be restored:

Suggested change
{% cards_item href="/docs/advanced/self-hosting#configuration" title="Email delivery" %}
Set up SMTP providers for user verification, password recovery, and notifications.
{% /cards_item %}
{% cards_item href="/docs/advanced/self-hosting/configuration/sms" title="SMS Delivery" %}
{% cards_item href="/docs/advanced/self-hosting#configuration" title="SMS Delivery" %}
Configure SMS providers for phone authentication and two-factor authentication.
{% /cards_item %}
{% cards_item href="/docs/advanced/self-hosting/configuration/storage" title="Storage Backends" %}
{% cards_item href="/docs/advanced/self-hosting#configuration" title="Storage Backends" %}
Connect external storage providers like AWS S3, Backblaze, or Wasabi.
{% /cards_item %}
{% cards_item href="/docs/advanced/self-hosting/configuration/email" title="Email delivery" %}
Set up SMTP providers for user verification, password recovery, and notifications.
{% /cards_item %}
{% cards_item href="/docs/advanced/self-hosting/configuration/sms" title="SMS Delivery" %}
Configure SMS providers for phone authentication and two-factor authentication.
{% /cards_item %}
{% cards_item href="/docs/advanced/self-hosting/configuration/storage" title="Storage Backends" %}
Connect external storage providers like AWS S3, Backblaze, or Wasabi.
{% /cards_item %}

Comment on lines +136 to +138
{% cards_item href="/docs/products/sites" title="Appwrite Sites" %}
Deploy and manage your web apps with ease using Appwrite's hosting solution.
{% /cards_item %}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Sites card should link to self-hosting configuration page

The new card is in the "Configuration" section alongside cards for email, SMS, storage, and functions — all of which link to pages under /docs/advanced/self-hosting/configuration/. A dedicated self-hosting configuration page for Sites already exists at src/routes/docs/advanced/self-hosting/configuration/sites/+page.markdoc, which covers configuring Sites runtimes in a self-hosted instance.

Linking to /docs/products/sites (the general product marketing page) is inconsistent with the other cards in this section and may mislead self-hosting users who need deployment/configuration instructions.

Suggested change
{% cards_item href="/docs/products/sites" title="Appwrite Sites" %}
Deploy and manage your web apps with ease using Appwrite's hosting solution.
{% /cards_item %}
{% cards_item href="/docs/advanced/self-hosting/configuration/sites" title="Appwrite Sites" %}
Deploy and manage your web apps with ease using Appwrite's hosting solution.
{% /cards_item %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken Self Hosted -> Configure services link and add Sites card to Self Hosting page

1 participant