Commit 4e4552e
authored
Fix: Correction of the siteRoot path (scala#17297)
- For the first issue, when a user set ./docs to the default value of
ScalaSettings, the code only took a value that was not the default
`siteRoot.nonDefault`. To fix this, I put a getOrElse to try and get the
default value.
- For the second problem, I noticed when I cloned the code that the user
was calling layouts that did not exist. Be careful with this as it can
indeed produce an error. Solving this problem was enough to remove the
non-existent layout calls.
Fixes: scala#153061 parent b29740d commit 4e4552e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments