From b9bd07075b5f1f9f6cb9a322e55c4c7e5e9920d9 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Wed, 15 Nov 2023 11:30:57 +0300 Subject: [PATCH] [docs]: Fixed navigation links --- .github/workflows/docs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6cf2d90dd..26a430cfc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -83,6 +83,18 @@ jobs: sed -i 's/# Completion Status/# Completion Status: HTTP Statuses/g' docs/statuses/http-statuses/index.md sed -i 's/# Completion Status/# Completion Status: Lang/g' docs/statuses/lang/index.md sed -i 's/# Completion Status/# Completion Status: Native Locale Names/g' docs/statuses/native-locale-names/index.md + + - name: Resolve navigation links + run: | + sed -i 's/<\/table>/<\/table>\n\n[ [go back](..\/index.md) | [to top](\#) ]/g' docs/statuses/attributes/index.md + sed -i 's/<\/table>/<\/table>\n\n[ [go back](..\/index.md) | [to top](\#) ]/g' docs/statuses/http-statuses/index.md + sed -i 's/<\/table>/<\/table>\n\n[ [go back](..\/index.md) | [to top](\#) ]/g' docs/statuses/lang/index.md + sed -i 's/<\/table>/<\/table>\n\n[ [go back](..\/index.md) | [to top](\#) ]/g' docs/statuses/native-locale-names/index.md + + sed -i 's/..\/status.md/..\/index.md/g' docs/statuses/attributes/statuses/* + sed -i 's/..\/status.md/..\/index.md/g' docs/statuses/http-statuses/statuses/* + sed -i 's/..\/status.md/..\/index.md/g' docs/statuses/lang/statuses/* + sed -i 's/..\/status.md/..\/index.md/g' docs/statuses/native-locale-names/statuses/* - name: Build VuePress site run: npm run build