Skip to content

feat: link docs pages to the Vaadin entity graph in JSON-LD (#6802) (CP: v25.3) - #6818

Merged
peholmst merged 1 commit into
v25.3from
cherry-pick-6802-to-v25.3-1796194950959
Dec 2, 2026
Merged

peholmst merged 1 commit into
v25.3from
cherry-pick-6802-to-v25.3-1796194950959

Conversation

@vaadin-bot

Copy link
Copy Markdown
Contributor

No description provided.

## Summary

Configures the JSON-LD structured data that Design System Publisher adds
to each docs article, so that each page links to the Vaadin entity graph
used on vaadin.com, and documents the new `structuredData` option.

Production builds from the `docs-app` default branch, which already
supports the option, so it takes effect on the first production deploy
after this is merged. Local development and the PR preview use the
pinned DSP release (`DSP_VERSION` in
`dspublisher/dspublisher-scripts.js` and the build in
`Dockerfile.preview`), and get the structured data once those are bumped
to a release that includes it.

## What changed

- `dspublisher/config/default.json`:
- Docs `WebSite` node `https://vaadin.com/docs/#website`, with URL
`https://vaadin.com/docs/latest/`, part of `https://vaadin.com/#website`
and published by `https://vaadin.com/#organization`.
  - `about` by path, the longest match wins:
    - `/components`: `https://vaadin.com/components#software`
    - `/tools/copilot`: `https://vaadin.com/copilot#software`
    - `/flow/react-views`: `https://vaadin.com/hilla#software`
    - `/flow/testing`: `https://vaadin.com/testbench#software`
    - other pages under `/flow`: `https://vaadin.com/framework#software`
    - all other pages: `https://vaadin.com/#software`
- DSP configuration page: new `structuredData` option and section, the
`canonicalUrl` version property that the data depends on, and a note
that `dateModified` needs a full Git clone.
- No `/hilla` mapping: every `/hilla` path is a redirect now, so no page
would match it. The React views pages, where that content now lives, are
about Hilla instead.

## Test summary

- Built the DSP test site with an equivalent configuration and checked
the generated JSON-LD.
- Vale reports no findings on the changed lines.

Working on behalf of Petter

---------

Co-authored-by: totally-not-ai[bot] <290682512+totally-not-ai[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-6818.fly.dev

Changed pages

Added content is highlighted in green; removed content is marked in red on each page.

Base branch changes

Not marked in the preview: v25.3 is a maintenance branch, not a stacked pull request branch. Everything highlighted in the preview belongs to this PR.

Built from 5813192

@peholmst
peholmst merged commit f0984c7 into v25.3 Dec 2, 2026
10 checks passed
@peholmst
peholmst deleted the cherry-pick-6802-to-v25.3-1796194950959 branch December 2, 2026 07:38
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