Skip to content

Conversation

@sxd
Copy link
Member

@sxd sxd commented Jan 17, 2026

No description provided.

@sxd sxd requested a review from a team as a code owner January 17, 2026 13:44
@sxd sxd force-pushed the dev/create_html_redirect branch from c3ad5fe to 331f2c6 Compare January 17, 2026 13:48
@sxd
Copy link
Member Author

sxd commented Jan 17, 2026

This one is based on #403 and should not be merged before that PR

@sxd sxd marked this pull request as draft January 17, 2026 13:53
@gbartolini
Copy link
Contributor

Can you please share the script you used to create redirects?

@gbartolini gbartolini marked this pull request as ready for review January 18, 2026 22:47
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
@gbartolini gbartolini force-pushed the dev/create_html_redirect branch from 1950dcd to 3631e83 Compare January 18, 2026 22:51
And updated 1.27, 1.28 and current

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Updated 1.27 and 1.28 rc

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
@gbartolini
Copy link
Contributor

I have created a script in the hack folder that is able to write uniform redirects.

@gbartolini gbartolini merged commit c3fe880 into main Jan 18, 2026
4 checks passed
@gbartolini gbartolini deleted the dev/create_html_redirect branch January 18, 2026 23:12
gbartolini added a commit that referenced this pull request Jan 18, 2026
This commit replaces the legacy HTML documentation files with client-side
HTTP redirects (meta-refresh) to point users to the new documentation
site at https://cloudnative-pg.io/docs/.

Changes include:
- Replaced all `index.html` files in versions 1.27, 1.28, and 'current'
  with redirect stubs.
- Implemented specific version mapping logic:
    - 'current' now redirects to the 'devel' documentation.
    - Release candidates (e.g., 1.27.0-rc1) redirect to the
      major.minor version (1.27).
- Purged unnecessary assets (PNG, JPG, CSS, YAML, and 404.html) from
  the affected version directories to reduce repository bloat, as
  these folders now only serve as redirect bridges.

Work performed via automated script in `hack/create_http_redirects.sh`.

Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
github-actions bot pushed a commit that referenced this pull request Jan 18, 2026
This commit replaces the legacy HTML documentation files with client-side
HTTP redirects (meta-refresh) to point users to the new documentation
site at https://cloudnative-pg.io/docs/.

Changes include:
- Replaced all `index.html` files in versions 1.27, 1.28, and 'current'
  with redirect stubs.
- Implemented specific version mapping logic:
    - 'current' now redirects to the 'devel' documentation.
    - Release candidates (e.g., 1.27.0-rc1) redirect to the
      major.minor version (1.27).
- Purged unnecessary assets (PNG, JPG, CSS, YAML, and 404.html) from
  the affected version directories to reduce repository bloat, as
  these folders now only serve as redirect bridges.

Work performed via automated script in `hack/create_http_redirects.sh`.

Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> c4ff5dc
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