summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala
diff options
context:
space:
mode:
authorHeather Miller <heather.miller@epfl.ch>2011-09-17 20:24:26 +0000
committerHeather Miller <heather.miller@epfl.ch>2011-09-17 20:24:26 +0000
commit7343e044153fb5f91028878fe1ddf341f62b37ee (patch)
tree5e2c6a27794c7204ce5cf9ecfdcdd7fc99dd9ee4 /src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala
parentfef6649b31d58e2cc239518cb031d39e1ac58b70 (diff)
downloadscala-7343e044153fb5f91028878fe1ddf341f62b37ee.tar.gz
scala-7343e044153fb5f91028878fe1ddf341f62b37ee.tar.bz2
scala-7343e044153fb5f91028878fe1ddf341f62b37ee.zip
Adds ability to document root package, as well ...
Adds ability to document root package, as well the first cut of an introduction to the API. Contributed by Iain McGinniss during the September doc spree.
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala')
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala b/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala
index 49e39b717f..d629b73572 100644
--- a/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala
+++ b/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala
@@ -99,6 +99,8 @@ class HtmlFactory(val universe: doc.Universe, index: doc.Index) {
copyResource("lib/selected2.png")
copyResource("lib/unselected.png")
+ copyResource("lib/rootdoc.txt")
+
new page.Index(universe, index) writeFor this
new page.IndexScript(universe, index) writeFor this