]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Fix HTML5 rendering of external references.
[doclang.git] / hdoc.cabal
1 name: hdoc
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 0.0.0.20180213
6 category: Language
7 synopsis: Library and tools for technical and convivial documents
8 stability: experimental
9 description: Handle documents in:
10 .
11 * Texte Convivial Technique (TCT)
12 * Document Technique Convivial (DTC)
13 extra-doc-files:
14 license: GPL-3
15 license-file: COPYING
16 author: Julien Moutinho <julm+hdoc@autogeree.net>
17 maintainer: Julien Moutinho <julm+hdoc@autogeree.net>
18 bug-reports: Julien Moutinho <julm+hdoc@autogeree.net>
19 -- homepage:
20
21 build-type: Simple
22 cabal-version: >= 1.18
23 tested-with: GHC==8.2.2
24 data-files:
25 style/dtc-errors.css
26 style/dtc-errors.js
27 style/dtc-html5.css
28 style/dtc-html5.js
29 style/dtc-index.css
30 style/dtc-judgment.css
31 style/dtc-table.css
32 style/tct-html5.css
33 extra-source-files:
34 stack.yaml
35 extra-tmp-files:
36
37 Source-Repository head
38 location: git://git.autogeree.net/hdoc
39 type: git
40
41 Flag debug
42 Default: False
43 Description: Turn on debugging settings.
44 Manual: True
45
46 Flag prof
47 Default: False
48 Description: Turn on profiling settings.
49 Manual: True
50
51 Library
52 exposed-modules:
53 Control.Monad.Utils
54 Hdoc.DTC.Analyze.Collect
55 Hdoc.DTC.Analyze.Index
56 Hdoc.DTC.Analyze.Check
57 Hdoc.DTC.Document
58 Hdoc.DTC.Read.TCT
59 Hdoc.DTC.Sym
60 Hdoc.DTC.Write.HTML5.Ident
61 Hdoc.DTC.Write.HTML5.Base
62 Hdoc.DTC.Write.HTML5.Judgment
63 Hdoc.DTC.Write.HTML5.Error
64 Hdoc.DTC.Write.HTML5
65 Hdoc.DTC.Write.Plain
66 Hdoc.DTC.Write.XML
67 Hdoc.RNC.Fixity
68 Hdoc.RNC.Sym
69 Hdoc.RNC.Write
70 Hdoc.TCT
71 Hdoc.TCT.Cell
72 Hdoc.TCT.Debug
73 Hdoc.TCT.Elem
74 Hdoc.TCT.Read
75 Hdoc.TCT.Read.Cell
76 Hdoc.TCT.Read.Elem
77 Hdoc.TCT.Read.Token
78 Hdoc.TCT.Read.Tree
79 Hdoc.TCT.Tree
80 Hdoc.TCT.Utils
81 Hdoc.TCT.Write.HTML5
82 Hdoc.TCT.Write.Plain
83 Hdoc.TCT.Write.XML
84 Hdoc.Utils
85 Hdoc.XML
86 Text.Blaze.DTC
87 Text.Blaze.DTC.Attributes
88 Text.Blaze.HTML5
89 Text.Blaze.Utils
90 Text.Blaze.XML
91 other-modules:
92 Paths_hdoc
93 default-language: Haskell2010
94 default-extensions:
95 LambdaCase
96 NamedFieldPuns
97 NoImplicitPrelude
98 RecordWildCards
99 TupleSections
100 ghc-options:
101 -Wall
102 -Wincomplete-uni-patterns
103 -Wincomplete-record-updates
104 -fno-warn-tabs
105 -fhide-source-paths
106 if flag(debug)
107 cpp-options: -DDEBUG
108 if flag(prof)
109 cpp-options: -DPROFILING
110 ghc-options: -fprof-auto
111 build-depends:
112 base >= 4.10 && < 5
113 , blaze-builder >= 0.4
114 , blaze-html >= 0.9
115 , blaze-markup >= 0.8
116 , bytestring >= 0.10
117 , containers >= 0.5
118 , data-default-class >= 0.1
119 , data-default-instances-containers >= 0.0
120 , directory >= 1.3
121 , filepath >= 1.4
122 , hashable >= 1.2.6
123 , hjugement >= 0.0
124 , localization >= 1.0.1
125 , symantic-cli >= 0.0.0
126 , megaparsec >= 6.3
127 , mono-traversable >= 1.0
128 , strict >= 0.3
129 -- , svg-builder >= 0.1
130 , text >= 1.2
131 -- , text-format >= 0.3
132 , transformers >= 0.5
133 , treemap >= 2.3
134 , treeseq >= 1.0
135 , unordered-containers >= 0.2.8
136
137 Executable hdoc
138 hs-source-dirs: exe/cli
139 main-is: Main.hs
140 other-modules:
141 Paths_hdoc
142 default-language: Haskell2010
143 default-extensions:
144 ConstraintKinds
145 DataKinds
146 DefaultSignatures
147 EmptyDataDecls
148 FlexibleContexts
149 FlexibleInstances
150 LambdaCase
151 MultiParamTypeClasses
152 NamedFieldPuns
153 NoImplicitPrelude
154 PatternGuards
155 PolyKinds
156 Rank2Types
157 RecordWildCards
158 ScopedTypeVariables
159 StandaloneDeriving
160 TupleSections
161 TypeApplications
162 TypeOperators
163 ghc-options:
164 -Wall
165 -Wincomplete-uni-patterns
166 -Wincomplete-record-updates
167 -fno-warn-tabs
168 -fhide-source-paths
169 if flag(debug)
170 cpp-options: -DDEBUG
171 if flag(prof)
172 cpp-options: -DPROFILING
173 ghc-options: -fprof-auto -rtsopts
174 build-depends:
175 hdoc
176 , ansi-terminal >= 0.4
177 , base >= 4.6 && < 5
178 , blaze-html >= 0.9
179 , blaze-markup >= 0.8
180 , bytestring >= 0.10
181 , containers >= 0.5
182 , data-default-class >= 0.1
183 , Decimal >= 0.4
184 , deepseq >= 1.4
185 , directory >= 1.3
186 , filepath >= 1.4
187 , hashable >= 1.2.6
188 , localization >= 1.0.1
189 , megaparsec >= 6.3
190 , monad-classes >= 0.3.2.2
191 -- , reflection >= 2.1.3
192 , peano >= 0.1
193 , semigroups >= 0.18
194 , symantic-document >= 0.1
195 , symantic-cli >= 0.0
196 , strict >= 0.3
197 , text >= 1.2
198 , time >= 1.8
199 , transformers >= 0.4
200 , treeseq >= 1.0
201 , unordered-containers >= 0.2.8
202 -- , mono-traversable
203 -- , safe >= 0.2
204 -- , safe-exceptions >= 0.1
205 -- , treemap
206
207 --Test-Suite hdoc-test
208 -- type: exitcode-stdio-1.0
209 -- hs-source-dirs: test
210 -- main-is: Main.hs
211 -- other-modules:
212 -- Golden
213 -- -- HUnit
214 -- -- QuickCheck
215 -- default-language: Haskell2010
216 -- default-extensions:
217 -- LambdaCase
218 -- NamedFieldPuns
219 -- NoImplicitPrelude
220 -- RecordWildCards
221 -- ViewPatterns
222 -- ghc-options:
223 -- -Wall
224 -- -Wincomplete-uni-patterns
225 -- -Wincomplete-record-updates
226 -- -fno-warn-tabs
227 -- -fhide-source-paths
228 -- build-depends:
229 -- hdoc
230 -- , base >= 4.10 && < 5
231 -- , blaze-html >= 0.9
232 -- , blaze-markup >= 0.8
233 -- , bytestring >= 0.10
234 -- , containers >= 0.5
235 -- , deepseq >= 1.4
236 -- , filepath >= 1.4
237 -- , localization >= 1.0.1
238 -- , megaparsec >= 6.3
239 -- , tasty >= 0.11
240 -- , tasty-golden >= 2.3
241 -- , text >= 1.2
242 -- , transformers >= 0.4
243 -- , treeseq >= 1.0
244 -- -- , QuickCheck >= 2.0
245 -- -- , tasty-hunit
246 -- -- , tasty-quickcheck