Skip to content

welcome page changes#1311

Merged
aadesh18 merged 13 commits intodevfrom
welcome-page
Apr 13, 2026
Merged

welcome page changes#1311
aadesh18 merged 13 commits intodevfrom
welcome-page

Conversation

@aadesh18
Copy link
Copy Markdown
Collaborator

@aadesh18 aadesh18 commented Apr 6, 2026

This PR is for the Welcome page in Mintlify docs.

Summary by CodeRabbit

  • Documentation
    • Redesigned homepage hero to a full-width, rounded container with preserved overflow behavior.
    • Replaced the 2-column “Explore the Docs” grid with a vertical “Recommended Order” flow (Getting Started → Components → SDK Reference).
    • Removed “Common Tasks” and added a branching “Then pick your path” section with three cards: Going Further, Apps, REST API.
    • Expanded “Explore Apps” to 10 streamlined guide cards (titles, icons, links only).

@aadesh18 aadesh18 requested a review from N2D4 April 6, 2026 23:34
@aadesh18 aadesh18 self-assigned this Apr 6, 2026
Copilot AI review requested due to automatic review settings April 6, 2026 23:34
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stack-auth-hosted-components Ready Ready Preview, Comment Apr 13, 2026 0:04am
stack-backend Ready Ready Preview, Comment Apr 13, 2026 0:04am
stack-dashboard Ready Ready Preview, Comment Apr 13, 2026 0:04am
stack-demo Ready Ready Preview, Comment Apr 13, 2026 0:04am
stack-docs Ready Ready Preview, Comment Apr 13, 2026 0:04am
stack-preview-backend Ready Ready Preview, Comment Apr 13, 2026 0:04am
stack-preview-dashboard Ready Ready Preview, Comment Apr 13, 2026 0:04am

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 6, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
stackauth-docs 🟢 Ready View Preview Apr 6, 2026, 11:34 PM

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 6, 2026

Greptile Summary

This PR adds a new welcome page (docs-mintlify/index.mdx) for the Mintlify docs, introducing a hero banner, quick-start steps, a recommended-order navigation section, and a resources section to orient new users.

  • The "Server API" badge in the REST API card links to the same URL as "Client API" (/docs/rest-api/overview), making both tags functionally identical.
  • The GitHub resource card uses https://github.com/stack-auth/stack while all other docs consistently reference https://github.com/stack-auth/stack-auth.

Confidence Score: 5/5

Safe to merge; all findings are P2 documentation link quality improvements that do not affect functionality.

Both issues are minor documentation link concerns — a duplicate href and an inconsistent GitHub URL. Neither blocks user paths in a critical way: the REST API overview is a valid landing point, and the GitHub link discrepancy is a cosmetic navigation concern. All findings are P2.

docs-mintlify/index.mdx — verify the GitHub repo URL and the Server API link destination.

Important Files Changed

Filename Overview
docs-mintlify/index.mdx New Mintlify welcome page with hero banner, quick-start steps, and navigation sections; two minor link integrity issues (duplicate Server API href, inconsistent GitHub repo URL).

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Welcome Page] --> B[Hero Banner]
    A --> C[Quick Start Steps]
    A --> D[Navigate Through Docs]
    A --> E[Resources]
    C --> C1[Setup]
    C --> C2[Add Auth UI]
    C --> C3[Read User Data]
    C --> C4[REST API]
    D --> D1[Getting Started]
    D --> D2[Components]
    D --> D3[SDK Reference]
    D --> D4{Then pick your path}
    D4 --> D5[Going Further]
    D4 --> D6[Apps]
    D4 --> D7[REST API]
    E --> E1[Dashboard]
    E --> E2[GitHub]
    E --> E3[Discord]
Loading

Comments Outside Diff (1)

  1. docs-mintlify/index.mdx, line 187 (link)

    P2 Inconsistent GitHub repository URL

    The href https://github.com/stack-auth/stack differs from https://github.com/stack-auth/stack-auth, which is used consistently in all other docs (self-host guides, CLI docs, example projects). The missing -auth suffix may point to a nonexistent or unrelated repository, producing a broken or misleading link for users trying to access the source code. Please verify the canonical repo URL.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: docs-mintlify/index.mdx
    Line: 187
    
    Comment:
    **Inconsistent GitHub repository URL**
    
    The href `https://github.com/stack-auth/stack` differs from `https://github.com/stack-auth/stack-auth`, which is used consistently in all other docs (self-host guides, CLI docs, example projects). The missing `-auth` suffix may point to a nonexistent or unrelated repository, producing a broken or misleading link for users trying to access the source code. Please verify the canonical repo URL.
    
    
    
    How can I resolve this? If you propose a fix, please make it concise.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: docs-mintlify/index.mdx
Line: 151-152

Comment:
**Duplicate destination for Server API**

Both "Client API" and "Server API" link to the same href `/docs/rest-api/overview`, making the two tags functionally indistinguishable. Users clicking "Server API" land on the exact same page as "Client API" with no distinct server-specific content — likely a copy-paste oversight. Consider linking "Server API" to a more specific server endpoint entry point, or consolidating to a single "REST API" tag.

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: docs-mintlify/index.mdx
Line: 187

Comment:
**Inconsistent GitHub repository URL**

The href `https://github.com/stack-auth/stack` differs from `https://github.com/stack-auth/stack-auth`, which is used consistently in all other docs (self-host guides, CLI docs, example projects). The missing `-auth` suffix may point to a nonexistent or unrelated repository, producing a broken or misleading link for users trying to access the source code. Please verify the canonical repo URL.

```suggestion
      <Card title="GitHub" icon="github" href="https://github.com/stack-auth/stack-auth" cta="View repository">
```

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "welcome page changes" | Re-trigger Greptile

Comment thread docs-mintlify/index.mdx Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Mintlify docs welcome page to present onboarding/navigation content in a more guided, “recommended order + branching paths” layout.

Changes:

  • Reworked the hero section container styling (full-width breakout → rounded, constrained layout).
  • Replaced the “Explore the Docs / Common Tasks” card grids with a timeline-style recommended reading order and branching sections.
  • Expanded the “Explore Apps” area into a larger set of app entry points.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs-mintlify/index.mdx
Comment thread docs-mintlify/index.mdx Outdated
@aadesh18 aadesh18 enabled auto-merge (squash) April 7, 2026 17:01
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 7, 2026

Caution

Review failed

The head commit changed during the review from cd7f191 to 652ee3f.

📝 Walkthrough

Walkthrough

Reworked docs-mintlify/index.mdx: replaced the hero/container layout, added four exported link helper components, transformed the docs explorer into a vertical “Recommended Order” flow, removed “Common Tasks”, added a branching three-column “Then pick your path” section, and replaced the apps card set with ten new cards.

Changes

Cohort / File(s) Summary
Docs index (MDX content)
docs-mintlify/index.mdx
Large rewrite of the index MDX: changed hero/container from w-screen negative-margin layout to w-full with rounded-xl and overflow-hidden; added exported components SectionLink, ChipLink, CardTitle, CardChip; removed the previous 2-column CardGroup and the “Common Tasks” section; added a vertical “Recommended Order” list (links + chips); inserted a “Then pick your path” divider with a 3-column branching card grid (Going Further / Apps / REST API); replaced the previous 6 app cards with a new 10-card CardGroup (titles, icons, hrefs; removed inline descriptions/cta props).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • N2D4

Poem

🐰 I nibbled at margins, rounded the brim,

Sprung four new links where the edges were slim.
A ordered trail, then branches that part,
Ten shiny cards to guide every heart.
Hooray—docs hopped forward with charm and with vim!

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'welcome page changes' is vague and generic, using non-descriptive language that doesn't convey the specific changes made to the welcome page. Use a more specific title that describes the main change, such as 'Refactor welcome page with timeline layout and link components' or 'Update welcome page content structure and add styled link helpers'.
Description check ❓ Inconclusive The description is minimal and vague, only stating the PR purpose without providing details about changes, motivations, or testing. It does not follow the template structure which requires a link to CONTRIBUTING.md guidelines. Expand the description to include what changed (new components, layout restructuring), why these changes were made, and any testing performed. Include reference to CONTRIBUTING.md as shown in the template.
✅ Passed checks (1 passed)
Check name Status Explanation
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
  • Commit unit tests in branch welcome-page

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.

Comment thread docs-mintlify/index.mdx Outdated
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: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs-mintlify/index.mdx (1)

26-37: ⚠️ Potential issue | 🟡 Minor

Both CTA buttons link to the same URL.

The "Start setup" and "Browse docs" buttons both point to /guides/getting-started/setup. The "Browse docs" button should likely link to a different destination (e.g., /docs/overview or an anchor to the navigation section below).

Proposed fix
         <a
           href="/guides/getting-started/setup"
-          className="inline-flex items-center justify-center rounded-lg border border-slate-600 px-5 py-3 text-sm font-semibold text-slate-200 no-underline transition hover:border-[`#6346ec`] hover:text-white"
+          className="inline-flex items-center justify-center rounded-lg border border-slate-600 px-5 py-3 text-sm font-semibold text-slate-200 no-underline transition hover:border-[`#6346ec`] hover:text-white"
+          href="#navigate-through-our-docs"
         >
           Browse docs
         </a>

Or link to a docs overview page instead of the setup guide.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs-mintlify/index.mdx` around lines 26 - 37, The two anchor elements for
the CTAs both point to "/guides/getting-started/setup"; update the second anchor
(the one with text "Browse docs" and className containing "border
border-slate-600") to use the correct docs URL (e.g., "/docs/overview" or an
in-page anchor) instead of the setup path so each button navigates to its
intended destination.
🧹 Nitpick comments (1)
docs-mintlify/index.mdx (1)

51-69: Update Quick Start links to use consistent /docs/ path pattern.

Lines 53, 60, 63, and 66 use old-style paths (/guides/..., /sdk/..., /api/...), while the rest of the page uses the /docs/... pattern. Update these for consistency:

  • Line 53, 60: Change /guides/getting-started/setup to /docs/getting-started/setup
  • Line 63: Change /sdk/overview to /docs/sdk/overview
  • Line 66: Change /api/overview to /docs/rest-api/overview (note: rest-api, not api)

Also consider adding redirects in docs-mintlify/docs.json if the old paths will no longer be available.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs-mintlify/index.mdx` around lines 51 - 69, Update the Quick Start link
targets inside the Steps/Step blocks: change the two occurrences of
"/guides/getting-started/setup" (in the Step titled "Set up Stack Auth" and the
Step titled "Add auth UI") to "/docs/getting-started/setup", change
"/sdk/overview" (in the Step titled "Read user data in code") to
"/docs/sdk/overview", and change "/api/overview" (in the Step titled "Go
lower-level when needed") to "/docs/rest-api/overview"; after updating these
link hrefs, add corresponding redirects for the old paths in docs.json so
existing links keep working.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs-mintlify/index.mdx`:
- Around line 151-155: The "Client API" and "Server API" anchor elements
currently both use href="/docs/rest-api/overview"; update the href on the anchor
with text "Server API" to the correct server-docs route (e.g., the distinct
server API overview path in your docs site) so it no longer points to the same
URL as the "Client API" link, and verify the new URL resolves correctly in the
site navigation; keep the "Client API" href unchanged if that is the intended
client page.
- Around line 161-173: The Card components inside CardGroup use incorrect hrefs
under /docs/apps/...; update each Card's href to the correct /guides/... routes
(e.g., change the Card with title "Authentication" href "/docs/apps/oauth" to
"/guides/apps/authentication/overview", "Auth Providers" to
"/guides/apps/authentication/auth-providers", "API Keys" to
"/guides/apps/api-keys/overview", "Analytics" to
"/guides/apps/analytics/overview", "Teams" (title "Teams") to
"/guides/apps/teams/overview", and adjust "Permissions" (title "Permissions") to
the RBAC route "/guides/apps/rbac/overview" if appropriate; also verify and
correct the "Data Vault" card href to the proper guides path) so each Card.title
maps to the correct guides URL.

---

Outside diff comments:
In `@docs-mintlify/index.mdx`:
- Around line 26-37: The two anchor elements for the CTAs both point to
"/guides/getting-started/setup"; update the second anchor (the one with text
"Browse docs" and className containing "border border-slate-600") to use the
correct docs URL (e.g., "/docs/overview" or an in-page anchor) instead of the
setup path so each button navigates to its intended destination.

---

Nitpick comments:
In `@docs-mintlify/index.mdx`:
- Around line 51-69: Update the Quick Start link targets inside the Steps/Step
blocks: change the two occurrences of "/guides/getting-started/setup" (in the
Step titled "Set up Stack Auth" and the Step titled "Add auth UI") to
"/docs/getting-started/setup", change "/sdk/overview" (in the Step titled "Read
user data in code") to "/docs/sdk/overview", and change "/api/overview" (in the
Step titled "Go lower-level when needed") to "/docs/rest-api/overview"; after
updating these link hrefs, add corresponding redirects for the old paths in
docs.json so existing links keep working.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c7f22647-47fe-4c46-b99d-8d683352b5ee

📥 Commits

Reviewing files that changed from the base of the PR and between 8e14c9e and 1fac79b.

📒 Files selected for processing (1)
  • docs-mintlify/index.mdx

Comment thread docs-mintlify/index.mdx
Comment thread docs-mintlify/index.mdx
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

♻️ Duplicate comments (2)
docs-mintlify/index.mdx (2)

177-177: ⚠️ Potential issue | 🟠 Major

Point “Auth Providers” at a registered docs page.

/guides/apps/authentication/auth-providers is not listed as a standalone page in docs-mintlify/docs.json:70-100; it is only the root of the nested "All Auth Providers" group, with the actual docs living under provider-specific routes. This card should link to a real page or be backed by a new overview page at that path.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs-mintlify/index.mdx` at line 177, The "Auth Providers" Card in
docs-mintlify/index.mdx points to /guides/apps/authentication/auth-providers
which is not a registered standalone page; either update the Card's href in
docs-mintlify/index.mdx (the Card with title "Auth Providers") to point to an
actual provider page (e.g., an existing provider route under the auth-providers
group) or create a new overview page at
/guides/apps/authentication/auth-providers and add it to docs-mintlify/docs.json
so the path is registered; ensure the Card href and docs.json entry match
exactly.

42-53: ⚠️ Potential issue | 🟡 Minor

Differentiate the secondary hero CTA.

Line 49 sends “Browse docs” to the same /guides/getting-started/setup page as “Start setup” on Line 43, so the secondary action does not actually browse. Point it at a broader docs entry point/section anchor, or rename it to match the setup destination.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs-mintlify/index.mdx` around lines 42 - 53, The secondary CTA anchor with
text "Browse docs" currently points to the same href as the primary "Start
setup", so update the anchor (the <a> element whose inner text is "Browse docs"
and className starting with "inline-flex items-center ... border") to either
point to a broader docs entry (e.g. change href to "/docs" or "/guides") or, if
you intend it to remain the setup destination, rename its visible text to match
(e.g. "Open setup"); adjust only the href or text in that specific anchor so the
two CTAs are distinct.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs-mintlify/index.mdx`:
- Around line 118-120: The ChipLink labeled "UserButton" currently points to the
hook docs at href="/sdk/hooks/use-user"; update this to either retarget the link
to the correct component page or rename the chip to match the hook (e.g., change
the label to "useUser"). Locate the ChipLink instance with label "UserButton"
and adjust its href to the component route for UserButton or change its
displayed text to "useUser" so the label and destination match.

---

Duplicate comments:
In `@docs-mintlify/index.mdx`:
- Line 177: The "Auth Providers" Card in docs-mintlify/index.mdx points to
/guides/apps/authentication/auth-providers which is not a registered standalone
page; either update the Card's href in docs-mintlify/index.mdx (the Card with
title "Auth Providers") to point to an actual provider page (e.g., an existing
provider route under the auth-providers group) or create a new overview page at
/guides/apps/authentication/auth-providers and add it to docs-mintlify/docs.json
so the path is registered; ensure the Card href and docs.json entry match
exactly.
- Around line 42-53: The secondary CTA anchor with text "Browse docs" currently
points to the same href as the primary "Start setup", so update the anchor (the
<a> element whose inner text is "Browse docs" and className starting with
"inline-flex items-center ... border") to either point to a broader docs entry
(e.g. change href to "/docs" or "/guides") or, if you intend it to remain the
setup destination, rename its visible text to match (e.g. "Open setup"); adjust
only the href or text in that specific anchor so the two CTAs are distinct.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 382ef5bb-fa42-4f4d-825b-51f5c8aa656d

📥 Commits

Reviewing files that changed from the base of the PR and between 830dc9c and 95a8b81.

📒 Files selected for processing (1)
  • docs-mintlify/index.mdx

Comment thread docs-mintlify/index.mdx
@aadesh18 aadesh18 merged commit 5c0088b into dev Apr 13, 2026
31 checks passed
@aadesh18 aadesh18 deleted the welcome-page branch April 13, 2026 00:25
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.

3 participants