aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/config/ScalaSettings.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/config/ScalaSettings.scala')
-rw-r--r--src/dotty/tools/dotc/config/ScalaSettings.scala14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/config/ScalaSettings.scala b/src/dotty/tools/dotc/config/ScalaSettings.scala
index fa4059a96..5d5903584 100644
--- a/src/dotty/tools/dotc/config/ScalaSettings.scala
+++ b/src/dotty/tools/dotc/config/ScalaSettings.scala
@@ -197,8 +197,16 @@ class ScalaSettings extends Settings.SettingGroup {
val YpresentationReplay = StringSetting("-Ypresentation-replay", "file", "Replay presentation compiler events from file", "")
val YpresentationDelay = IntSetting("-Ypresentation-delay", "Wait number of ms after typing before starting typechecking", 0, 0 to 999)
- /** Dottydoc specific settings */
- val YDocNoWrite = BooleanSetting("-Ydoc-nowrite", "Doesn't write HTML files if set", false)
+ /** Doc specific settings */
+ val template = OptionSetting[String](
+ "-template",
+ "A mustache template for rendering each top-level entity in the API"
+ )
+
+ val resources = OptionSetting[String](
+ "-resources",
+ "A directory containing static resources needed for the API documentation"
+ )
val DocTitle = StringSetting (
"-Ydoc-title",
@@ -235,8 +243,6 @@ class ScalaSettings extends Settings.SettingGroup {
""
)
- val DocRecursive = BooleanSetting("-Ydoc-recursive", "Get all files from supplied directory")
-
//def DocUncompilableFiles(implicit ctx: Context) = DocUncompilable.value match {
// case "" => Nil
// case path => io.Directory(path).deepFiles.filter(_ hasExtension "scala").toList