1
0
Fork 0

nixbld: serve nmigen docs

This commit is contained in:
Sebastien Bourdeauducq 2022-09-27 11:07:13 +08:00
parent 74f56f7ccc
commit d2bfca1f25
1 changed files with 8 additions and 8 deletions

View File

@ -413,6 +413,10 @@ in
job = web:web:web
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/web
</runcommand>
<runcommand>
job = web:web:nmigen-docs
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/nmigen-docs
</runcommand>
<runcommand>
job = artiq:sipyco:sipyco-manual-html
@ -797,19 +801,15 @@ in
locations."/socket.io/".proxyPass = "http://127.0.0.1:9825";
locations."/socket.io/".proxyWebsockets = true;
};
"nmigen.org" = {
"nmigen.net" = {
addSSL = true;
enableACME = true;
locations."/".extraConfig = ''
return 307 https://m-labs.hk/gateware/nmigen/;
'';
root = "${hydraWwwOutputs}/nmigen-docs";
};
"www.nmigen.org" = {
"www.nmigen.net" = {
addSSL = true;
enableACME = true;
locations."/".extraConfig = ''
return 307 https://m-labs.hk/gateware/nmigen/;
'';
root = "${hydraWwwOutputs}/nmigen-docs";
};
};
};