Changes between Version 7 and Version 8 of Building/Docs
- Timestamp:
- 11/13/09 05:08:34 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/Docs
v7 v8 5 5 == Haddock documentation == 6 6 7 The GHC build includes Haddock, and the Haddock documentation for libraries is built and installed by default. It is also possible to process the libraries sources using [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hscolour HsColour], and for the Haddock documentation to include links to the !HsColoured source code; in order to do this, just install `HsColour` and run `./configure`. The configure script will tell you whether it found `HsColour` at the end.7 The GHC build includes Haddock, and the Haddock documentation for libraries is built and installed by default. 8 8 9 You can disable Haddock documentation for your build by adding 10 {{{ 11 HADDOCK_DOCS = NO 12 }}} 13 to your `mk/build.mk`. 14 15 It is also possible to process the libraries sources using [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hscolour HsColour], and for the Haddock documentation to include links to the !HsColoured source code; in order to do this, just install `HsColour` and re-run `./configure`. The configure script will tell you whether it found `HsColour` at the end. 16 17 To build ''just'' the Haddock docs for a given library, do this: 18 {{{ 19 cd libraries/base 20 make html stage=0 FAST=YES 21 }}} 9 22 10 23 == !DocBook documentation == … … 15 28 16 29 At the moment, we are not able to build documentation in PDF format due to tool flakiness. If you manage to find a way to process the documentation into readable PDF, please let us know! 30 31 To build a document on its own, for example the Users Guide, do this: 32 33 {{{ 34 cd docs/users_guide 35 make html stage=0 FAST=YES 36 }}} 37 38 substitute 'html' for 'pdf' or 'ps' to build other types of documentation. 39 40 == Installing documentation == 41 42 Documentation is installed by default by 'make install'.
