Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
07cb9d54
Commit
07cb9d54
authored
Nov 24, 2007
by
Ian Lynagh
Browse files
Don't make a library documentation prologue
It's far too large now, and no-one complained when 6.8.1 didn't have one.
parent
0c129b07
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/gen_contents_index
View file @
07cb9d54
...
...
@@ -30,30 +30,9 @@ case $* in
;;
esac
# Automagically create the prologue for the combined index via a
# header, the package prologues (in alphabetical order of the
# packages) and a footer.
{
cat
libraries-header.txt
echo
# Hack to find out if we're in a build tree or installed docs
for
NAME
in
$NAMES
do
if
[
"
$NAME
"
!=
haskell98
]
then
echo
"[@
${
NAME
}
@]"
grep
-v
'^ *$$'
"
$NAME
"
/prologue.txt
echo
fi
done
cat
libraries-footer.txt
echo
}
>
libraries.txt
# Now create the combined contents and index pages
haddock
--gen-index
--gen-contents
-o
.
\
-t
"Haskell Hierarchical Libraries"
\
-p
libraries.txt
\
$HADDOCK_ARGS
# Unhandled Windows help stuff?:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment