@@ -22,6 +22,7 @@ import Hakyll.Core.Item
2222data FileType
2323 = Binary
2424 | Css
25+ | DocBook
2526 | Html
2627 | LaTeX
2728 | LiterateHaskell FileType
@@ -39,6 +40,8 @@ fileType :: FilePath -> FileType
3940fileType = uncurry fileType' . splitExtension
4041 where
4142 fileType' _ ".css" = Css
43+ fileType' _ ".docbook" = DocBook
44+ fileType' _ ".db" = DocBook
4245 fileType' _ ".htm" = Html
4346 fileType' _ ".html" = Html
4447 fileType' f ".lhs" = LiterateHaskell $ case fileType f of