Skip to content

Keep the \"try it\" step on the site - #154

Merged
guanzhousongmicrosoft merged 1 commit into
documentdb:mainfrom
GuanzhouSong:fix/mongosh-install-inline
Aug 24, 2026
Merged

Keep the \"try it\" step on the site#154
guanzhousongmicrosoft merged 1 commit into
documentdb:mainfrom
GuanzhouSong:fix/mongosh-install-inline

Conversation

@GuanzhouSong

Copy link
Copy Markdown
Contributor

Why

The final cold acceptance run — a terminal-only newcomer, live site, real repository — reached a working queryable database and reported "I never had to guess." It scored 4/5, and the first deduction was this:

Not self-contained. You cannot complete "insert and read a document" using documentdb.io alone — no client ships, and you must leave the site for mongodb.com to get mongosh. Honest, but the "Connect and try it" story has an off-site hole.

Change

Give the mongosh install commands inline for the two paved-road targets, keeping the link to MongoDB's official instructions for every other platform.

Verification

Both command blocks were run in clean containers before being documented:

\\

mongosh on Ubuntu 24.04

2.10.0

mongosh on Rocky 9

2.10.0
\\

130 tests, tsc --noEmit and next build pass; all four new strings verified present in the rendered guide.

The final acceptance run reached a working, queryable database following the
site alone and reported that nothing had to be guessed -- but it deducted a
point because completing the documented ""insert and read a document"" step
required leaving documentdb.io for mongodb.com. The page said `mongosh` is not
shipped and linked the official instructions, which is honest but leaves a hole
in the one flow the page exists to demonstrate.

Give the commands for the two paved-road targets inline, and keep the link for
everything else. Both were run in clean containers first: Ubuntu 24.04 and
Rocky 9 each install mongosh 2.10.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8df9084a-ccaf-432c-b015-2ccd8893a9d8

@guanzhousongmicrosoft guanzhousongmicrosoft left a comment

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.

Closes the last gap from the final acceptance run. Both mongosh install blocks were executed in clean Ubuntu 24.04 and Rocky 9 containers before documenting (2.10.0 in each). CI green.

@guanzhousongmicrosoft
guanzhousongmicrosoft merged commit d3dd378 into documentdb:main Aug 24, 2026
2 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