From 81cf94523f5a794e5b0c69dbd9a94619135a23c7 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 4 Dec 2024 15:52:52 -0500 Subject: Prune unused stuff This was all dead weight, just delete it and move on. --- Biz/Que/Apidocs.md | 3 --- Biz/Que/Site.hs | 7 ++----- Biz/Que/Site.nix | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 Biz/Que/Apidocs.md (limited to 'Biz/Que') 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 -- cgit v1.2.3