summaryrefslogtreecommitdiff
path: root/libraries/gen_contents_index
Commit message (Collapse)AuthorAgeFilesLines
* Fix gen_contents_index logic for hadrian bindistMatthew Pickering2022-03-071-1/+12
|
* Exclude Cabal PackageTests from gen_contents_index.Edward Z. Yang2016-10-081-1/+2
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Docs: make sure all libs are included in index.html (#10879)Thomas Miedema2015-09-181-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the build, when HADDOCK_DOCS=YES, the command 'cd libraries && sh gen_contents_index --intree' is run, which calls haddock to generate the haddock index at 'libraries/dist-haddock/index.html'. What it did before was check the ./packages file for all libraries. The problem is that 'base' and 'ghc-prim' were folded into the main repo some time ago, hence don't have an entry in the ./packages file anymore. As a result, 'base' and 'ghc-prim' were missing from the index.html file. It now simply runs haddock on all the all the `.haddock` files in the libraries directory. The only risk is that this could include the extra libraries in the index.html, if you ever built them in the past (with BUILD_EXTRA_PKGS=YES), even though now you want to exclude them (with BUILD_EXTRA_PKGS=NO). gen_contents_index doesn't have access to build system variables though (PACKAGES_STAGE1+PACKAGES_STAGE2), so fixing this would be a little bit fiddly. Test Plan: 'make libraries/dist-haddock/index.html && grep -q base libraries/dist-haddock/index.html && echo ok' Reviewed by: austin Differential Revision: https://phabricator.haskell.org/D1247
* docs: make gen_contents_index --verbose more verboseAustin Seipp2015-03-221-1/+3
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Tweak the gen_contents_index scriptIan Lynagh2013-01-291-11/+13
|
* Add --verbose and --help flags to gen_contents_indexThomas Dziedzic2012-06-211-7/+30
| | | | Fixes http://hackage.haskell.org/trac/ghc/ticket/5992
* Generate the haddock contents/index pages in a dist-haddock subdirectoryIan Lynagh2012-01-081-9/+12
| | | | This is tidier, and makes it easier to clean and install them correctly
* Follow cabal->Cabal rename, and fix haddock index generationIan Lynagh2011-10-231-10/+21
| | | | We now make use of the ghc-packages file when making the haddock index.
* Echo the Haddock command line, to make deugging any crash in Haddock easierSimon Peyton Jones2011-10-211-0/+1
|
* gen_contents_index: Improve parsing of packages fileIan Lynagh2011-04-081-1/+1
| | | | | We are now more lenient in parsing the packages file, and we don't use any GNUisms. Based on a patch from Matthias Kilian.
* Only put the boot packages in the haddock contents/indexIan Lynagh2010-10-161-14/+12
| | | | We don't install dph etc, so don't put them in the doc index.
* Tweak gen_contents_index now dph may not be thereIan Lynagh2010-09-201-3/+6
|
* Fix running in-place gen_contents_index; trac #3716Ian Lynagh2010-01-081-1/+1
| | | | It was making incorrect URLs due to a shell script error.
* Fix a braino in a commentIan Lynagh2009-12-181-1/+1
|
* Fix another sed problem on SolarisIan Lynagh2009-12-171-1/+3
|
* Fix gen_contents_index on MSYSIan Lynagh2009-11-171-1/+1
| | | | | | | | | | On MSYS sed 's/.*[ \t]//' wasn't matching version:<tab>1.0 so I've switched to 's/.*[[:space:]]//' which works on Linux, cygwin and MSYS.
* Put docs into versioned directory names; fixes trac #3532Ian Lynagh2009-11-081-12/+19
| | | | | You can now have multiple versions of a package installed, and gen_contents_index will do the right thing.
* Fix creation of library doc index, and put the library docs in bindistsIan Lynagh2009-08-021-6/+3
|
* Fix gen_contents_index when not run inplace; trac #2764Ian Lynagh2008-11-161-1/+1
| | | | Based on a patch from juhpetersen.
* Add dph haddock docs to the doc indexIan Lynagh2008-10-191-1/+5
|
* Add a link to the GHC API docs from the library haddock indexIan Lynagh2008-10-131-0/+1
|
* Tweak gen_contents_indexIan Lynagh2008-10-131-2/+4
| | | | | | | It now works again after it has been installed, as well as while it is in a source tree. After it's been installed it filters out the ghc package, as that currently swamps everything else in the index.
* Update the build system to handle building and using haddock2Ian Lynagh2008-08-281-3/+4
| | | | | One side-effect of this is that we need to build the install-utils with stage2 rather than stage1 as we need the ghc package.
* Fix a bug in gen_contents_indexIan Lynagh2007-12-121-1/+1
| | | | | The library doc index thought that the docs were in $module.html, rather than $package/$module.html.
* Refactor gen_contents_indexIan Lynagh2007-12-071-17/+8
| | | | Also fixes it with Solaris's sh, spotted by Christian Maeder
* Don't make a library documentation prologueIan Lynagh2007-11-241-21/+0
| | | | It's far too large now, and no-one complained when 6.8.1 didn't have one.
* Don't put package version numbers in links in index.htmlIan Lynagh2007-11-241-2/+1
|
* Tweak gen_contents_index to work with Solaris's shIan Lynagh2007-11-101-1/+1
|
* fix the links in the library documentation indexSimon Marlow2007-10-251-8/+28
|
* Build the libraries with cabalIan Lynagh2007-03-081-0/+53