Skip to content

RDoc-4154 Cloud What's New: entries under /cloud/whats-new and a JSON feed for the Cloud Portal - #2721

Draft
PFYasu wants to merge 3 commits into
ravendb:mainfrom
PFYasu:RDoc-4154
Draft

PFYasu wants to merge 3 commits into
ravendb:mainfrom
PFYasu:RDoc-4154

Conversation

@PFYasu

@PFYasu PFYasu commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Adds a What's New section for RavenDB Cloud under /cloud/whats-new, one entry per Cloud deployment, and publishes the entries as a JSON feed that the Cloud Portal will read.
Ticket: https://issues.ravendb.net/issue/RDoc-4154

Draft: do not merge yet. Nothing reads the feed until the portal side ships; that work is tracked in the Cloud project.

What's New section

  • A second content-blog instance (cloud-whats-new) serves the entries in cloud-whats-new/ at /cloud/whats-new: a list, newest first, a page per entry and an archive. It lives under /cloud, so scripts/handle_redirects.js serves it without a version prefix; no edge function or redirect change.
  • The list and entry pages match the docs through blog theme swizzles in src/theme/ (BlogListPage, BlogPostItem, BlogPostPaginator, BlogSidebar): sized headings, a muted date, dividers between deployments, a Read more footer, and a paginator with the newer entry on the right.
  • The Cloud theme colours were keyed on .plugin-id-cloud only; the What's New pages (.plugin-id-cloud-whats-new) now get them too, in both colour modes.
  • "What's new" link at the bottom of the Cloud sidebar, above Community (getSidebarNav in src/typescript/pathUtils.ts).

What's New list, dark mode

What's New list, light mode

What's new link at the bottom of the Cloud sidebar

Entry format

  • One folder per deployment, YYYY-MM-DD-<deployment>/index.mdx with the entry's images next to it. The date is the day the deployment reached PROD; the name is the deployment's, as in YouTrack: october-2026, and october-ii-2026 for a second deployment in the same month. Two deployments in one month never share a URL or an image folder.
  • Titled <deployment> - <headline>, e.g. October II 2026 - ....
  • Above {/* truncate */}: an optional lead image, then one bullet per feature released in the deployment, - **<feature name>:** <one line on what the customer can now do>. No feature is named after the title's headline, so the entry page never shows the same words twice in a row.
  • Below the marker: a ## section per feature with the details, the limits and a link to the Cloud page.

JSON feed

  • /cloud/whats-new/feed.json is the blog JSON feed: title, summary, URL and date of every entry, plus its excerpt in a _ravendb.excerpt extension added by src/plugins/whats-new-feed: feature (name + text), paragraph and image blocks in order, with plain text and the built image URLs. That is what the list page shows for every entry. The Cloud Portal will show only the newest entry the same way, with a Read more link to the full entry here; the history stays in the docs, and nothing below the truncate marker reaches the portal. Unit tests in src/plugins/whats-new-feed/__tests__.
  • The portal reads the feed server-side, because CloudFront allows cross-origin requests from ravendb.net only. This PR does not change that.

Entries

  • October 2026, already on production, six features. The text follows the October 2026 Cloud docs update.
  • The figures are docs screenshots from cloud/assets and cloud/portal/assets, framed with Cawmera in one house style and saved as WebP at quality 80 (under 40 KB each). They are copies in the entry's folder, not links to cloud/assets: an entry records one deployment and must not change when the docs re-shoot a figure.

October 2026 entry

Table of contents highlight

  • Docusaurus highlights a heading in the table of contents only once it reaches the top half of the viewport. A short last section, like "Newer Azure machines" in the October entry, can never scroll that high, so clicking it left the previous link highlighted.
  • src/theme/TOCItems uses its own copy of the highlight hook with one more rule: at the bottom of the page, the clicked heading (the URL hash) is highlighted, or else the last heading in view. Everywhere else the Docusaurus behaviour is unchanged.
  • This applies to every table of contents on the site. The rule is a pure function with unit tests in src/typescript/__tests__/tocHighlight.test.ts.

Authoring guide

  • cloud-whats-new/README.md explains how to add an entry: naming the folder after the deployment, the front matter fields, the excerpt format, where images go, links, checking it locally, and the date rules the portal depends on. GitHub shows it when browsing the folder.
  • The blog instance takes only .mdx files (include: ["**/*.mdx"]), so the README is not published as an entry. The root README.md links to it.
  • CLAUDE.md carries the same rules in its "Cloud What's New" section and points to the guide.

Not in this PR

  • Entry pages use the blog sidebar instead of the Cloud docs sidebar.

Checks run locally

After rebasing on main: npm test, npm run typecheck, npm run lint (no new warnings), npm run prettier, npm run validate-redirects, and npm run build:current with DOCUSAURUS_STRICT=true DOCUSAURUS_STRICT_SEO=true.

@PFYasu

PFYasu commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Note we will need to fix the examples of the deployment announcements.

@PFYasu
PFYasu force-pushed the RDoc-4154 branch 2 times, most recently from d00b225 to e588289 Compare October 29, 2026 12:09
@PFYasu PFYasu added the Cloud label Nov 4, 2026
PFYasu and others added 2 commits November 23, 2026 14:12
… feed for the Cloud Portal

- A second content-blog instance (cloud-whats-new) serves the entries at /cloud/whats-new. It lives under /cloud, so the edge function serves it without a version prefix.
- One folder per Cloud deployment, YYYY-MM-DD-<deployment>/index.mdx with its images next to it: dated on the day the deployment reached PROD and named after the deployment (october-2026, october-ii-2026 for a second one that month), so two deployments in one month never share a URL or images.
- Each entry is titled "<deployment> - <headline>". Above the truncate marker, a block per feature: its name as a bold line, one line on what the customer can now do and an image where it helps. Below it, a section per feature with the details.
- /cloud/whats-new/feed.json is the blog JSON feed: title, summary, URL and date of every entry, plus its excerpt as heading, paragraph and image blocks (_ravendb.excerpt, added by src/plugins/whats-new-feed) - what the list page shows, and what the Cloud Portal will show for the newest entry, with a Read more link to the full entry. Unit tests included.
- The Cloud theme colours now also apply to the What's New pages, and the Cloud sidebar links to them.
- First entries: the September 2026 and October 2026 Cloud deployments, with images copied rather than referenced, so an entry does not change when the docs re-shoot a figure.
- cloud-whats-new/README.md: the guide to adding an entry, linked from README.md and kept out of the entries by include: ["**/*.mdx"]. CLAUDE.md carries the same rules.
…-bullet feed

Style the What's New list and entries to match the docs (sized headings,
muted date, dividers between deployments, newer-right paginator, "Read more"
footer) via blog theme swizzles, and surface What's new in the footer
Community group.

Emit each excerpt bullet as a feature block in feed.json so the docs page
and the Cloud Portal render the same list. Convert all entry images to lean
webp and name covers cover-<month><year>.webp; update the author guide and
CLAUDE.md to match. Drop the September deployment.
…highlight short last TOC sections

October 2026 entry:
- Each section leads with what changed for the customer, then the limits and a link to the Cloud page.
- The first feature is named after the product, External SSO & User Management, so it does not repeat the title.
- Two new figures, framed with Cawmera in the house style of the existing ones: the profile Security page with 2FA
  on, and Product permissions in the invite-user panel. All entry figures re-encoded at WebP quality 80.

November 2026 entry:
- A data disk for every new Development and Production product, data disks up to 16 TB on P50 to P70, and
  Autoscaling at a glance. Figures framed with Cawmera, WebP at quality 80.
- Dated 2026-11-25, the planned PROD day. Merge only after that deployment reached PROD, and together with or after
  docs PR 2742, which adds the sections the entry links to.

Table of contents:
- Docusaurus highlights a heading only once it reaches the top half of the viewport, so a short last section could
  never be highlighted, even after clicking it. TOCItems uses its own copy of the highlight hook with one more rule:
  at the bottom of the page, the clicked heading (the URL hash) wins, or else the last heading in view. Unit tests
  in src/typescript/__tests__/tocHighlight.test.ts. Applies to every table of contents on the site.

Authoring guide:
- README.md and CLAUDE.md examples follow the October entry, and both say not to name a feature after the title's
  headline. CLAUDE.md says the What's new link sits at the bottom of the Cloud sidebar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants