From 005b674853d462b1e1a1e0dd174b7ae9d9cd75ec Mon Sep 17 00:00:00 2001 From: JulioLoayzaM Date: Thu, 30 May 2024 19:32:28 +0200 Subject: [PATCH] docs: add redirect from root to latest --- Makefile | 2 ++ docs/source/_static/redirect-index.html | 13 +++++++++++++ pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 docs/source/_static/redirect-index.html diff --git a/Makefile b/Makefile index 2b29fdb..48e4875 100644 --- a/Makefile +++ b/Makefile @@ -153,6 +153,8 @@ pages-ci: init-ci @echo "[+] Building all docs" sudo apt-get install -y --no-install-recommends pandoc . .venv/bin/activate && $(MAKE) -C docs all-versions + cp docs/source/_static/redirect-index.html docs/build/public/index.html +# Rename docs from main to devel. mv docs/build/public/main docs/build/public/devel # Move latest tag to latest. -LATEST_TAG="$(shell git describe --tags --abbrev=0 --exclude='*rc[0-9]')" && cp -R docs/build/public/$$LATEST_TAG docs/build/public/latest diff --git a/docs/source/_static/redirect-index.html b/docs/source/_static/redirect-index.html new file mode 100644 index 0000000..d1388c8 --- /dev/null +++ b/docs/source/_static/redirect-index.html @@ -0,0 +1,13 @@ + + + + + + + + +

Redirecting to the documentation...

+ + + + diff --git a/pyproject.toml b/pyproject.toml index 1fe4bda..e803201 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "crypto-condor" -version = "2024.05.30-rc2" +version = "2024.05.30-rc3" description = "Compliance testing for implementations of cryptographic primitives" license = "Apache-2.0" authors = [