nixbld: serve nmigen docs
This commit is contained in:
parent
74f56f7ccc
commit
d2bfca1f25
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user