Add default.nix and udpate README

This commit is contained in:
steve-chavez
2018-09-10 10:47:03 -05:00
parent bba1d35ade
commit 54436e2dc6
2 changed files with 22 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "postgrest-docs";
buildInputs = [
python36Full
python36Packages.sphinx
python36Packages.sphinx_rtd_theme
python36Packages.livereload ];
shellHook = ''
sphinx-build -b html -a -n . _build
python reload_docs.py && exit
'';
}