Skip to content

Stop publishing stale v1 and v2 docs#450

Merged
Eomm merged 1 commit into
fastify:mainfrom
Lovlace777:lovelace/fix-old-doc-permalinks
Jul 3, 2026
Merged

Stop publishing stale v1 and v2 docs#450
Eomm merged 1 commit into
fastify:mainfrom
Lovlace777:lovelace/fix-old-doc-permalinks

Conversation

@Lovlace777

Copy link
Copy Markdown
Contributor

Description

Summary

  • Stops downloading Fastify v1 and v2 docs during website builds.
  • Skips v1 and v2 release folders during release processing, including when cached release data is restored in CI.
  • Keeps currently published v3, v4, and v5 docs generation unchanged.

Validation

  • npm ci passed.
  • npm run lint:js passed.
  • npm run lint:style passed.
  • node --check scripts/process-releases.js passed.
  • git diff --cached --check passed.
  • PowerShell content check confirmed the v1/v2 download commands are absent.
  • npm run format:check did not pass locally because the current Windows checkout reports existing Prettier warnings across 56 files; no broad formatting changes were included.
  • scripts/build-website.sh was not run locally because this Windows host only exposes the WSL bash launcher and /bin/bash is unavailable. CI runs the website build on Ubuntu.

Notes

Related Issues

Fixes #440

Check List

Signed-off-by: Lovelace <61972457+Lovlace777@users.noreply.github.com>
@Eomm Eomm merged commit c9b9ccd into fastify:main Jul 3, 2026
2 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.

Broken link on the site documentation

2 participants