You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -11,90 +12,95 @@ class ScaladocSettings extends SettingGroup with AllScalaSettings:
11
12
12
13
13
14
valprojectName:Setting[String] =
14
-
StringSetting("-project", "project title", "The name of the project.", "", aliases =List("-doc-title"))
15
+
StringSetting(RootSetting, "project", "project title", "The name of the project.", "", aliases =List("-doc-title"))
15
16
16
17
valprojectVersion:Setting[String] =
17
-
StringSetting("-project-version", "project version", "The current version of your project.", "", aliases =List("-doc-version"))
18
+
StringSetting(RootSetting, "project-version", "project version", "The current version of your project.", "", aliases =List("-doc-version"))
18
19
19
20
valprojectLogo:Setting[String] =
20
-
StringSetting("-project-logo", "project logo filename", "Path to the file that contains the project's logo. Provided path can be absolute or relative to the project root directory.", "", aliases =List("-doc-logo"))
21
+
StringSetting(RootSetting, "project-logo", "project logo filename", "Path to the file that contains the project's logo. Provided path can be absolute or relative to the project root directory.", "", aliases =List("-doc-logo"))
21
22
22
-
valprojectFooter:Setting[String] =StringSetting("-project-footer", "project footer", "A footer on every Scaladoc page.", "", aliases =List("-doc-footer"))
23
+
valprojectFooter:Setting[String] =StringSetting(RootSetting, "project-footer", "project footer", "A footer on every Scaladoc page.", "", aliases =List("-doc-footer"))
"Links to social sites. '[github|twitter|gitter|discord]::link' or 'custom::link::light_icon_file_name[::dark_icon_file_name]' syntax is used. For custom links, the icons must be present in '_assets/images/'")
47
48
48
49
valdeprecatedSkipPackages:Setting[List[String]] =
49
-
MultiStringSetting("-skip-packages", "packages", "Deprecated, please use `-skip-by-id` or `-skip-by-regex`")
50
+
MultiStringSetting(RootSetting, "skip-packages", "packages", "Deprecated, please use `-skip-by-id` or `-skip-by-regex`")
50
51
51
52
valskipById:Setting[List[String]] =
52
-
MultiStringSetting("-skip-by-id", "package or class identifier", "Identifiers of packages or top-level classes to skip when generating documentation")
53
+
MultiStringSetting(RootSetting, "skip-by-id", "package or class identifier", "Identifiers of packages or top-level classes to skip when generating documentation")
53
54
54
55
valskipByRegex:Setting[List[String]] =
55
-
MultiStringSetting("-skip-by-regex", "regex", "Regexes that match fully qualified names of packages or top-level classes to skip when generating documentation")
56
+
MultiStringSetting(RootSetting, "skip-by-regex", "regex", "Regexes that match fully qualified names of packages or top-level classes to skip when generating documentation")
56
57
57
58
valdocRootContent:Setting[String] =
58
-
StringSetting("-doc-root-content", "path", "The file from which the root package documentation should be imported.", "")
59
+
StringSetting(RootSetting, "doc-root-content", "path", "The file from which the root package documentation should be imported.", "")
BooleanSetting("-groups", "Group similar functions together (based on the @group annotation)", false)
65
+
BooleanSetting(RootSetting, "groups", "Group similar functions together (based on the @group annotation)", false)
65
66
66
67
valvisibilityPrivate:Setting[Boolean] =
67
-
BooleanSetting("-private", "Show all types and members. Unless specified, show only public and protected types and members.", false)
68
+
BooleanSetting(RootSetting, "private", "Show all types and members. Unless specified, show only public and protected types and members.", false)
68
69
69
70
valdocCanonicalBaseUrl:Setting[String] =
70
71
StringSetting(
71
-
"-doc-canonical-base-url",
72
+
RootSetting,
73
+
"doc-canonical-base-url",
72
74
"url",
73
75
s"A base URL to use as prefix and add `canonical` URLs to all pages. The canonical URL may be used by search engines to choose the URL that you want people to see in search results. If unset no canonical URLs are generated.",
74
76
""
75
77
)
76
78
77
79
valsiteRoot:Setting[String] =StringSetting(
78
-
"-siteroot",
80
+
RootSetting,
81
+
"siteroot",
79
82
"site root",
80
83
"A directory containing static files from which to generate documentation.",
"A URL pointing to a JSON document containing a dictionary `version label -> documentation location`. "+
100
106
"The JSON file has single property \"versions\" that holds dictionary of labels of specific docs and URL pointing to their index.html top-level file. "+
@@ -103,23 +109,24 @@ class ScaladocSettings extends SettingGroup with AllScalaSettings:
103
109
)
104
110
105
111
valYdocumentSyntheticTypes:Setting[Boolean] =
106
-
BooleanSetting("-Ydocument-synthetic-types", "Attach pages with documentation of the intrinsic types e. g. Any, Nothing to the docs. Setting is useful only for stdlib.", false)
112
+
BooleanSetting(RootSetting, "Ydocument-synthetic-types", "Attach pages with documentation of the intrinsic types e. g. Any, Nothing to the docs. Setting is useful only for stdlib.", false)
BooleanSetting("-Ygenerate-inkuire", "Generates InkuireDB and enables Hoogle-like searches", false)
118
+
BooleanSetting(RootSetting, "Ygenerate-inkuire", "Generates InkuireDB and enables Hoogle-like searches", false)
113
119
114
120
valapiSubdirectory:Setting[Boolean] =
115
-
BooleanSetting("-Yapi-subdirectory", "Put the API documentation pages inside a directory `api/`", false)
121
+
BooleanSetting(RootSetting, "Yapi-subdirectory", "Put the API documentation pages inside a directory `api/`", false)
116
122
117
123
valscastieConfiguration:Setting[String] =
118
-
StringSetting("-scastie-configuration", "Scastie configuration", "Additional configuration passed to Scastie in code snippets", "")
124
+
StringSetting(RootSetting, "scastie-configuration", "Scastie configuration", "Additional configuration passed to Scastie in code snippets", "")
119
125
120
126
valdefaultTemplate:Setting[String] =
121
127
StringSetting(
122
-
"-default-template",
128
+
RootSetting,
129
+
"default-template",
123
130
"default template used by static site",
124
131
"The static site is generating empty files for indexes that haven't been provided explicitly in a sidebar/missing index.html in directory. "+
125
132
"User can specify what default template should be used for such indexes. It can be useful for providing generic templates that interpolate some common settings, like title, or can have some custom html embedded.",
@@ -128,13 +135,14 @@ class ScaladocSettings extends SettingGroup with AllScalaSettings:
128
135
129
136
valquickLinks:Setting[List[String]] =
130
137
MultiStringSetting(
131
-
"-quick-links",
138
+
RootSetting,
139
+
"quick-links",
132
140
"quick-links",
133
141
"List of quick links that is displayed in the header of documentation."
134
142
)
135
143
136
144
valdynamicSideMenu:Setting[Boolean] =
137
-
BooleanSetting("-dynamic-side-menu", "Generate side menu via JS instead of embedding it in every html file", false)
145
+
BooleanSetting(RootSetting, "dynamic-side-menu", "Generate side menu via JS instead of embedding it in every html file", false)
0 commit comments