Skip to content

Commit

Permalink
Adjust testcases static site to the new structure. Change assets copy…
Browse files Browse the repository at this point in the history
… destination in sbt project
  • Loading branch information
pikinier20 committed Jan 28, 2022
1 parent a287c7c commit 5af46b0
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions project/DocumentationWebsite.scala
Expand Up @@ -13,8 +13,8 @@ object DocumentationWebsite {
): Seq[File] = {


val contributorsTestcasesDestinationFile = Paths.get("scaladoc-testcases", "docs", "js", "contributors.js").toFile
val contributorsDestinationFile = Paths.get("docs", "js", "contributors.js").toFile
val contributorsTestcasesDestinationFile = Paths.get("scaladoc-testcases", "docs", "_assets", "js", "contributors.js").toFile
val contributorsDestinationFile = Paths.get("docs", "_assets", "js", "contributors.js").toFile
sbt.IO.copyFile(contributorsFile, contributorsTestcasesDestinationFile)
sbt.IO.copyFile(contributorsFile, contributorsDestinationFile)

Expand All @@ -25,8 +25,8 @@ object DocumentationWebsite {
val cssCodeSnippetsSourceFile = cssSourceFileBase / "code-snippets.css"
sbt.IO.copyFile(cssCodeSnippetsSourceFile, cssCodeSnippetsDesitnationFile)

val cssContentContributorsTestcasesDesitnationFile = Paths.get("docs", "css", "content-contributors.css").toFile
val cssContentContributorsDesitnationFile = Paths.get("scaladoc-testcases", "docs", "css", "content-contributors.css").toFile
val cssContentContributorsTestcasesDesitnationFile = Paths.get("docs", "_assets", "css", "content-contributors.css").toFile
val cssContentContributorsDesitnationFile = Paths.get("scaladoc-testcases", "docs", "_assets", "css", "content-contributors.css").toFile
val cssContentContributorsSourceFile = cssContentContributorsSourceBaseFile / "content-contributors.css"
sbt.IO.copyFile(cssContentContributorsSourceFile, cssContentContributorsTestcasesDesitnationFile)
sbt.IO.copyFile(cssContentContributorsSourceFile, cssContentContributorsDesitnationFile)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions scaladoc-testcases/docs/sidebar.yml
@@ -1,6 +1,6 @@
rootIndex: docs/index.md
rootIndex: index.md
pages:
- page: docs/docs/f1.md
- page: docs/docs/f2.md
- page: docs/docs/f3.md
- page: docs/docs/f4.md
- page: docs/f1.md
- page: docs/f2.md
- page: docs/f3.md
- page: docs/f4.md

0 comments on commit 5af46b0

Please sign in to comment.