Skip to content

Share one nav across the site and fill out the AI page - #241

Merged
guanzhousongmicrosoft merged 2 commits into
documentdb:mainfrom
GuanzhouSong:website/nav-and-ai-page
Nov 6, 2026
Merged

guanzhousongmicrosoft merged 2 commits into
documentdb:mainfrom
GuanzhouSong:website/nav-and-ai-page

Conversation

@GuanzhouSong

@GuanzhouSong GuanzhouSong commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Blog and announcement pages are built by Jekyll with a hand-copied nav, and it had drifted from the Next.js one: no AI or Samples links, and "Download" instead of "Install & Download". Copying the missing links across would drift again, and with 11 items the bar already wrapped at 1280px.

Both navs now render from blogs/_data/nav.json, which Jekyll reads as site data and the navbar imports. Home is gone (the logo links there), GitHub and Discord become icons, Samples, the VS Code extension and Agent-Kit move under Build, and Announcements and Blogs under News. That frees enough room to show the desktop bar from 1024px instead of 1280px. Dropdown links stay in the HTML while closed, so crawlers still find them.

The AI page had little to click: use cases without links, a samples button into the unfiltered gallery, and a 3-dimension toy example. It now lists the gallery's vector search samples (selected by tag, so new ones appear on their own), links each use case to a sample or reference page, swaps the toy vectors for a local Ollama + Python quick start, and adds Agent-Kit. The stats and logo wall that repeat the home page are gone. The quick start code was run against the 1.0 image.

Screenshots

Highlights mark what changed. "Before" is the live documentdb.io.

Before: the home page and the blog/announcement pages show different navs.

Live home page nav with 11 items

Live announcements nav without AI or Samples

After: one nav everywhere, with Build and News menus.

Home page nav with the Build menu open

Announcements page nav with the News menu open

Phone menu with Build and News groups

AI page

AI page hero with a document and its embedding

Quick start with Ollama and Python

Use cases linking to samples and references

Vector search samples from the gallery

Agent-Kit section

The blog and announcement pages kept a hand-copied nav that had drifted
(no AI or Samples, a different Download label). Both now read
blogs/_data/nav.json. Samples, the VS Code extension and Agent-Kit fold
under Build, Announcements and Blogs under News.

Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
Use cases link to their samples, the gallery's vector search samples
appear on the page, and the toy 3-dimension example becomes a local
Ollama + Python flow. Drops the stats and logos the home page repeats.

Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
@guanzhousongmicrosoft
guanzhousongmicrosoft merged commit 7f67326 into documentdb:main Nov 6, 2026
6 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