Skip to content

Commit f57b081

Browse files
oschwaldclaude
andcommitted
Stop regenerating gh-pages index.md in release script
Hugo on `main` now owns the Pages index, so the release script no longer needs to write a Jekyll front-matter wrapper around README.md on the gh-pages branch. The phpDocumentor block that builds and publishes `doc/$tag/` is unchanged — that versioned tree continues to live on gh-pages and is preserved by the new workflow's `keep_files: true`. For STF-448. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 22e19d2 commit f57b081

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

dev-bin/release.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,8 @@ php phpDocumentor.phar \
170170

171171
rm -rf "$cachedir"
172172

173-
page=index.md
174-
cat <<EOF >$page
175-
---
176-
layout: default
177-
title: minFraud PHP API
178-
language: php
179-
version: $tag
180-
---
181-
182-
EOF
183-
184-
cat ../README.md >>$page
173+
rm -f doc/latest
174+
ln -sfn "$tag" doc/latest
185175

186176
git add doc/
187177

0 commit comments

Comments
 (0)