manual: Migrate to cli.rs domain

This commit is contained in:
Zhaofeng Li 2022-05-08 17:41:17 -07:00
parent b4c832c24f
commit f5071dcff2
5 changed files with 6 additions and 5 deletions

1
CNAME Normal file
View file

@ -0,0 +1 @@
colmena.cli.rs

View file

@ -6,7 +6,7 @@ src = "src"
title = "Colmena @apiVersion@" title = "Colmena @apiVersion@"
[output.html] [output.html]
site-url = "/colmena/@apiVersion@/" site-url = "/@apiVersion@/"
git-repository-url = "https://github.com/zhaofengli/colmena" git-repository-url = "https://github.com/zhaofengli/colmena"
edit-url-template = "https://github.com/zhaofengli/colmena/edit/main/manual/{path}" edit-url-template = "https://github.com/zhaofengli/colmena/edit/main/manual/{path}"

View file

@ -6,7 +6,7 @@ src = "src"
title = "Colmena (Unstable)" title = "Colmena (Unstable)"
[output.html] [output.html]
site-url = "/colmena/unstable/" site-url = "/unstable/"
git-repository-url = "https://github.com/zhaofengli/colmena" git-repository-url = "https://github.com/zhaofengli/colmena"
edit-url-template = "https://github.com/zhaofengli/colmena/edit/main/manual/{path}" edit-url-template = "https://github.com/zhaofengli/colmena/edit/main/manual/{path}"

View file

@ -25,10 +25,10 @@ let
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Redirecting</title> <title>Redirecting</title>
<meta http-equiv="refresh" content="0; URL=https://zhaofengli.github.io/colmena@path@"> <meta http-equiv="refresh" content="0; URL=https://colmena.cli.rs@path@">
</head> </head>
<body> <body>
Redirecting to <a href="https://zhaofengli.github.io/colmena@path@">https://zhaofengli.github.io/colmena@path@</a> Redirecting to <a href="https://colmena.cli.rs@path@">https://colmena.cli.rs@path@</a>
</body> </body>
</html> </html>
''; '';

View file

@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "A simple, stateless NixOS deployment tool"; description = "A simple, stateless NixOS deployment tool";
homepage = "https://zhaofengli.github.io/colmena/${passthru.apiVersion}"; homepage = "https://colmena.cli.rs/${passthru.apiVersion}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ zhaofengli ]; maintainers = with maintainers; [ zhaofengli ];
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;