* docs: fix broken internal links in developer and product docs
Contributor guide linked to root-level /why-contribute, /good-decisions,
/expectations and /more-info; switch these and other root-relative or
moved-page links to relative file links or current paths. Repoint absolute
docs.mattermost.com links that no longer resolve, demote body-level H1s
that Docusaurus renders without ids, and fix stale anchors.
* docs: register plugin reference anchors with the broken-link checker
The generated server/webapp/manifest reference components render raw
elements with ids, which Docusaurus does not see, so every deep link into
them was reported as a broken anchor.
* docs: fail CI on broken links and unresolvable absolute docs links
Set onBrokenLinks and onBrokenMarkdownLinks to throw now that the build is
clean, keep onBrokenAnchors at warn, and add check:absolute-links to Docs CI
to validate absolute https://docs.mattermost.com links against the build.
* chore(docs): refresh rendered IME diagram
Auto-generated by .github/workflows/docs-ime-render.yml.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* docs: self-host fonts, images, and OpenAPI icons; block build egress
Stop hotlinking GitHub/user-images and Google Fonts on the docs site, replace
embedded video iframes with links, and fail CI when a build would fetch
off-origin resources (closed allowlist for the security-updates feed).
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: address CodeRabbit egress review findings
Scan an offline (no-Algolia) rebuild in Docs CI, tighten ATTR/getAttr
boundaries, flag remote template-literal prefixes before ${, and add
alt text for the self-hosted plugin-management image.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: replace egress fixture tree with in-memory unit tests
Keep scanner coverage without committing dozens of tiny HTML/CSS/JS
fixture files. scanSources takes string maps; CLI smoke uses a temp dir.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: keep YouTube/Wistia embeds on hosted site
Restore in-page players for the public docs. Allowlist those hosts in
check-egress; the offline packager strips them for airgap.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: simplify hosted-embed allowlist to base domains
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: tighten hosted-embed allowlist to player kinds and paths
Only iframe/script/img player URLs pass; fetch() and other loads to
YouTube/Wistia hosts still fail egress.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: allow Wistia swatch preload in hosted-embed egress check
The organize-conversations embed emits link[rel=preload] for the
swatch; kind-scoped allowlisting missed it and failed Docs CI.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: use getAttr boundary for script hasSrc check
\b matches inside data-src, so the old hasSrc could skip scanning an
inline script body. Align with ATTR/getAttr and cover the case in tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>