Skip to content

Commit

Permalink
docs: add redirect from root to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioLoayzaM committed May 30, 2024
1 parent f4cd2cb commit 005b674
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions docs/source/_static/redirect-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>

<head>
<meta http-equiv="refresh" content="0; url='https://quarkslab.github.io/crypto-condor/latest/index.html'" />
</head>

<body>
<p>Redirecting to the documentation...</p>
</body>

</html>

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down

0 comments on commit 005b674

Please sign in to comment.