Repository navigation
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
Draft
RDoc-4154 Cloud What's New: entries under /cloud/whats-new and a JSON feed for the Cloud Portal#2721PFYasu wants to merge 3 commits into
PFYasu wants to merge 3 commits into
Conversation
PFYasu
force-pushed
the
RDoc-4154
branch
4 times, most recently
from
October 29, 2026 11:52
3b04be0 to
ee7ec34
Compare
Contributor
Author
|
Note we will need to fix the examples of the deployment announcements. |
PFYasu
force-pushed
the
RDoc-4154
branch
2 times, most recently
from
October 29, 2026 12:09
d00b225 to
e588289
Compare
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
content-bloginstance (cloud-whats-new) serves the entries incloud-whats-new/at/cloud/whats-new: a list, newest first, a page per entry and an archive. It lives under/cloud, soscripts/handle_redirects.jsserves it without a version prefix; no edge function or redirect change.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..plugin-id-cloudonly; the What's New pages (.plugin-id-cloud-whats-new) now get them too, in both colour modes.getSidebarNavinsrc/typescript/pathUtils.ts).Entry format
YYYY-MM-DD-<deployment>/index.mdxwith 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, andoctober-ii-2026for a second deployment in the same month. Two deployments in one month never share a URL or an image folder.<deployment> - <headline>, e.g.October II 2026 - ....{/* 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.##section per feature with the details, the limits and a link to the Cloud page.JSON feed
/cloud/whats-new/feed.jsonis the blog JSON feed: title, summary, URL and date of every entry, plus its excerpt in a_ravendb.excerptextension added bysrc/plugins/whats-new-feed:feature(name + text),paragraphandimageblocks 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 insrc/plugins/whats-new-feed/__tests__.Entries
cloud/assetsandcloud/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 tocloud/assets: an entry records one deployment and must not change when the docs re-shoot a figure.Table of contents highlight
src/theme/TOCItemsuses 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.src/typescript/__tests__/tocHighlight.test.ts.Authoring guide
cloud-whats-new/README.mdexplains 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..mdxfiles (include: ["**/*.mdx"]), so the README is not published as an entry. The rootREADME.mdlinks to it.CLAUDE.mdcarries the same rules in its "Cloud What's New" section and points to the guide.Not in this PR
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, andnpm run build:currentwithDOCUSAURUS_STRICT=true DOCUSAURUS_STRICT_SEO=true.