我使用以下命令在沙箱中创建了一个cabal库:
documentation: True
我将行cabal.config
添加到vector
以确保生成文档,并在mylib.cabal
中向cabal install --only-dependencies
包添加了依赖项。然后我跑了:
/scm/hs-proj/.cabal-sandbox
Configuring primitive-0.6...
Building primitive-0.6...
Installed primitive-0.6
Configuring vector-0.10.12.3...
Building vector-0.10.12.3...
Installed vector-0.10.12.3
Updating documentation index
/scm/hs-proj/.cabal-sandbox/share/doc/x86_64-osx-ghc-7.10.1/index.html
我得到了以下输出:
file:///scm/hs-proj/.cabal-sandbox/share/doc/x86_64-osx-ghc-7.10.1/Data-List.html
file:///scm/hs-proj/.cabal-sandbox/share/doc/x86_64-osx-ghc-7.10.1/Data-Vector.html
到目前为止一切顺利。
当我打开索引文件时,它包含许多软件包的链接,例如:
vector
但这些链接指向任何真实文件。请注意,对于Data.List
等额外依赖项以及内置包列表Scenario 1: When in app:
1 User presses **backbutton**, apps goes to background and user is on the homescreen.
2 User presses the multitasking button and swips the app away.
3 The Service should restart because its sticky.
Scenario 2: When in app:
1 User presses **homebutton**, apps goes to background and user is on the homescreen.
2 User presses the multitasking button and swips the app away.
3 The Service should restart because its sticky.
也是如此。
所以我认为我已经错误地安装了文档。有人可以指出我是如何错误地安装文档以及如何正确安装文档的?