From 6e9b1e316b742be6d4df7764aaf3e7b2c84bf125 Mon Sep 17 00:00:00 2001 From: Fiachra Corcoran Date: Tue, 25 Feb 2025 10:07:04 +0000 Subject: [PATCH 1/4] Fix release dropdown menu --- .gitignore | 1 + config.toml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8117ffec..fe4ded99 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ # Hugo .hugo* resources/ +public/ # nodejs package-lock.json diff --git a/config.toml b/config.toml index b916abf8..3e237d78 100644 --- a/config.toml +++ b/config.toml @@ -156,14 +156,18 @@ enable = false version = "main" url = "https://docs.nephio.org/docs/" +[[params.versions]] + version = "R4" + url = "https://r4.docs.nephio.org/docs/" + [[params.versions]] version = "R3" url = "https://r3.docs.nephio.org/docs/" - [[params.versions]] +[[params.versions]] version = "R2" url = "https://r2.docs.nephio.org/docs/" - [[params.versions]] +[[params.versions]] version = "R1" url = "https://github.com/nephio-project/docs/tree/R1" From cd278b57c19d52a5c153a79060df0c9b73020cfc Mon Sep 17 00:00:00 2001 From: Fiachra Corcoran Date: Tue, 25 Feb 2025 11:30:50 +0000 Subject: [PATCH 2/4] Fix checklinks runner fail --- .github/workflows/check-links-md.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-links-md.yml b/.github/workflows/check-links-md.yml index 644c1506..7b16a89c 100644 --- a/.github/workflows/check-links-md.yml +++ b/.github/workflows/check-links-md.yml @@ -1,10 +1,12 @@ name: "Check links of plain md files" -on: + +on: pull_request: + workflow_dispatch: jobs: docs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository code uses: actions/checkout@v4 From fc68c4b9b7c9a8ad7b3a4fe6ea8bff9a2acbc2c3 Mon Sep 17 00:00:00 2001 From: Fiachra Corcoran Date: Tue, 25 Feb 2025 13:17:56 +0000 Subject: [PATCH 3/4] Fix broken hyperlink --- content/en/docs/glossary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/glossary.md b/content/en/docs/glossary.md index fb2b98f1..7bd6076d 100644 --- a/content/en/docs/glossary.md +++ b/content/en/docs/glossary.md @@ -45,7 +45,7 @@ services, applications, etc.) which: manipulating configuration data don’t need to directly interact with storage (git, container images) Source of definition and more information about Configuration as Data can be found in the -[kpt documentation](https://github.com/nephio-project/porch/blob/main/docs/06-config-as-data.md). +[kpt documentation](https://github.com/nephio-project/porch/blob/R2/docs/06-config-as-data.md). ## Controller This term comes from Kubernetes where From b86b760a93e554e4a8da6ed0520963fcda15ba18 Mon Sep 17 00:00:00 2001 From: Fiachra Corcoran Date: Thu, 5 Feb 2026 15:17:01 +0000 Subject: [PATCH 4/4] Add redirects file (#299) Add redirect to latest docs site --------- Signed-off-by: Fiachra Corcoran --- static/_redirects | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/_redirects diff --git a/static/_redirects b/static/_redirects new file mode 100644 index 00000000..d4e16124 --- /dev/null +++ b/static/_redirects @@ -0,0 +1 @@ +/* https://docs.nephio.org/:splat 301!