Nix Sphinx template with:
nix build- see generated site at result/index.html
or live updates with uncommited git changes:
impure-sphinx-autobuild# default port 8000 or pass --port n- see http://localhost:8000 # or specified port
-
flake.nixinputs = { sphinx.url = "github:womfoo/nix-sphinx-template"; }
modules = [ inputs.sphinx.nixosModules.default {services.sphinx-nginx.enable = true;} {services.sphinx-nginx.virtualHost = "your.doc.site.com";} ];