Browse Source

Add doctype to outputs

master
Alex Feldman-Crough 2 years ago
parent
commit
e8c664969c
  1. 2
      src/prosidy-manual/Prosidy/Manual.hs

2
src/prosidy-manual/Prosidy/Manual.hs

@ -81,7 +81,7 @@ mainBuild Opts { outDir, srcDir } = do
Shake.liftIO $ do
toc <- either throwIO pure $ tableOfContents tocFiles base doc
bytes <- either throwIO pure $ compile document toc doc
LBS.writeFile path bytes
LBS.writeFile path $ "<!doctype html>\n" <> bytes
[outDir <//> "*.css", outDir <//> "*.js", outDir <//> "*.svg"] |%> \path ->
do

Loading…
Cancel
Save