diff options
Diffstat (limited to 'Biz/Que')
-rw-r--r-- | Biz/Que/Apidocs.md | 3 | ||||
-rw-r--r-- | Biz/Que/Site.hs | 7 | ||||
-rw-r--r-- | Biz/Que/Site.nix | 1 |
3 files changed, 2 insertions, 9 deletions
diff --git a/Biz/Que/Apidocs.md b/Biz/Que/Apidocs.md deleted file mode 100644 index f400889..0000000 --- a/Biz/Que/Apidocs.md +++ /dev/null @@ -1,3 +0,0 @@ -% que.run Api Docs - -coming soon diff --git a/Biz/Que/Site.hs b/Biz/Que/Site.hs index 963927d..f4e4a9c 100644 --- a/Biz/Que/Site.hs +++ b/Biz/Que/Site.hs @@ -42,7 +42,6 @@ move args = do client = src </> "Client.py", quescripts = src </> "Quescripts.md", style = src </> "Style.css", - apidocs = src </> "Apidocs.md", tutorial = src </> "Tutorial.md" } where @@ -82,8 +81,7 @@ data Sources = Sources quescripts :: FilePath, client :: FilePath, style :: FilePath, - tutorial :: FilePath, - apidocs :: FilePath + tutorial :: FilePath } type Namespace = Text @@ -103,8 +101,7 @@ run key ns Sources {..} = Async.runConcurrently actions |> void [ toHtml index +> serve key ns "index" |> forever, toHtml quescripts +> serve key ns "quescripts" |> forever, BS.readFile client +> serve key ns "client" |> forever, - toHtml tutorial +> serve key ns "tutorial" |> forever, - toHtml apidocs +> serve key ns "apidocs" |> forever + toHtml tutorial +> serve key ns "tutorial" |> forever ] toHtml :: FilePath -> IO ByteString toHtml md = diff --git a/Biz/Que/Site.nix b/Biz/Que/Site.nix index cc525f6..da51032 100644 --- a/Biz/Que/Site.nix +++ b/Biz/Que/Site.nix @@ -7,7 +7,6 @@ let name = "que-website-static"; installPhase = '' mkdir -p $out - cp ${./Apidocs.md} $out/Apidocs.md cp ${./Index.md} $out/Index.md cp ${./Quescripts.md} $out/Quescripts.md cp ${./Style.css} $out/Style.css |