Skip to content

Fix APIs docs nav#3059

Merged
eldadfux merged 2 commits into
mainfrom
fix-api-docs-nav
Jun 24, 2026
Merged

Fix APIs docs nav#3059
eldadfux merged 2 commits into
mainfrom
fix-api-docs-nav

Conversation

@adityaoberai

Copy link
Copy Markdown
Contributor

What does this PR do?

(Provide a description of what this PR does.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

@appwrite

appwrite Bot commented Jun 23, 2026

Copy link
Copy Markdown

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Ready Ready View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Queued Queued View Logs Preview URL QR Code


Tip

Global CDN and DDoS protection come free with every Sites deployment

@greptile-apps

greptile-apps Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes the APIs docs navigation by introducing a dedicated Sidebar.svelte for the /docs/apis section and moving the "Release policy" page from advanced/release-policy to apis/release-policy.

  • A new src/routes/docs/apis/Sidebar.svelte is created with a structured nav (Getting started, Protocols, Concepts, Policies), and all APIs section layout files are updated to import it instead of the root docs sidebar.
  • The "Release policy" route is relocated from advanced/ to apis/, with backward-compatibility redirects added for both /docs/advanced/release-policy and /docs/advanced/platform/release-policy.
  • STYLE.md is updated to reflect the new section placement of Release policy.

Confidence Score: 5/5

Safe to merge — the changes are purely structural nav/routing refactoring with backward-compatible redirects covering all moved URLs.

All affected layout files have been updated to the new sidebar import, redirects are in place for every old URL, and the new sidebar correctly mirrors the navigation items previously scattered across the main sidebar. No functional logic is modified.

No files require special attention.

Important Files Changed

Filename Overview
src/routes/docs/apis/Sidebar.svelte New dedicated sidebar for the APIs section, containing Getting started, Protocols, Concepts (Events, Webhooks, Response codes), and Policies (Release policy) groups.
src/routes/docs/Sidebar.svelte Events, Webhooks, and Response codes removed from the main docs sidebar's APIS section (now handled by the dedicated APIs sidebar); Release policy removed from Advanced section.
src/redirects.json Redirects updated: /docs/advanced/platform/release-policy now points to /docs/apis/release-policy, and a new redirect from /docs/advanced/release-policy to /docs/apis/release-policy covers the old route.
src/routes/docs/apis/release-policy/+layout.svelte Renamed/moved from advanced/release-policy; now imports the new APIs-specific Sidebar instead of the top-level docs Sidebar.
src/routes/docs/apis/(overview)/+layout.svelte Sidebar import updated from ../../Sidebar.svelte to ../Sidebar.svelte to use the new APIs-specific sidebar.
STYLE.md Documentation updated to reflect the move of Release policy from the Advanced section to the APIs section.

Reviews (2): Last reviewed commit: "Shift release policy to API docs" | Re-trigger Greptile

@eldadfux eldadfux merged commit 187ddbd into main Jun 24, 2026
6 of 7 checks passed
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.

2 participants