Skip to content

Commit a47a051

Browse files
authored
Merge pull request #23 from listx/update-legacy-snapshot
move announcements page to a more prominent location
2 parents c00fe9c + ee8cade commit a47a051

File tree

8 files changed

+660
-598
lines changed

8 files changed

+660
-598
lines changed

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[submodule "site/themes/docsy"]
22
path = site/themes/docsy
33
url = https://github.com/google/docsy.git
4+
branch = main

site/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules
33
public
44
resources
5+
tmp

site/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ build:
1111
netlify-build: init-theme build
1212

1313
netlify-deploy-preview: init-theme
14+
cd themes/docsy && npm install
1415
hugo --enableGitInfo --buildFuture -b $(DEPLOY_PRIME_URL)
1516

1617
# Used by Netlify to pull in the theme (plain git-clone of our main repo is not enough).
@@ -20,7 +21,7 @@ init-theme:
2021
# Update the "docsy" Hugo theme.
2122
update-theme: init-theme
2223
git submodule update --remote
23-
npm update
24+
npm install
2425

2526
check-broken-links:
2627
find ./public -name "*.html" -print0 | sort -z | xargs -0 ./check-broken-links.sh

site/content/en/docs/ANNOUNCEMENTS.md

Lines changed: 499 additions & 0 deletions
Large diffs are not rendered by default.

site/content/en/docs/Legacy Snapshot/_index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
---
22
title: "Legacy Snapshot"
3-
weight: 1
43
description: >
54
Legacy docs
65
weight: 100
76
---
87

98
## Legacy Snapshot
109

11-
Due to historical reasons, almost all of Prow's documentation resides in the
10+
Historically, almost all of Prow's documentation resided in the
1211
[kubernetes/test-infra][k/t-i] ("k/t-i") repo. As part of the [migration
13-
effort](https://github.com/kubernetes-sigs/prow/issues/4), this page captures
12+
effort](https://github.com/kubernetes-sigs/prow/issues/4), those docs were
13+
replaced with "tombstones" in
14+
https://github.com/kubernetes/test-infra/pull/27818, with a pointer to this
15+
page.
16+
17+
This page captures
1418
Prow documentation in the [k/t-i][] repository as of [October
1519
25,
1620
2022](https://github.com/kubernetes/test-infra/tree/ad35c59116f550a260de4fed95438fb43188ff1a).
@@ -25,4 +29,4 @@ This is an ongoing effort and the goal is to one day delete this snapshot
2529
altogether (to be replaced by equivalent documentation outside of this folder).
2630

2731
[k8s]: https://github.com/kubernetes/kubernetes
28-
[k/t-i]: https://github.com/kubernetes/kubernetes
32+
[k/t-i]: https://github.com/kubernetes/test-infra

site/content/en/docs/Legacy Snapshot/prow/ANNOUNCEMENTS.md

Lines changed: 1 addition & 482 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)