diff options
| author | Schuyler Eldridge | 2019-05-13 13:01:55 -0400 |
|---|---|---|
| committer | GitHub | 2019-05-13 13:01:55 -0400 |
| commit | df0e0b1cc4b566fc098ac3a6d34ec6d9a551d21d (patch) | |
| tree | d0eb97809c3014ee9dd5076f6663d62cd0406eb5 /build.sbt | |
| parent | e1aa5f3f5c0cdeb204047c3ca50801d9f7ea25f1 (diff) | |
| parent | 86530051191b47f852d35a61e86143f89b53cdd9 (diff) | |
Merge pull request #1022 from freechipsproject/cleanup-scaladoc
Miscellaneous Scaladoc Cleanup
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -177,7 +177,18 @@ lazy val chisel = (project in file(".")). "-diagrams-max-classes", "25", "-doc-version", version.value, "-doc-title", name.value, - "-doc-root-content", baseDirectory.value+"/root-doc.txt" + "-doc-root-content", baseDirectory.value+"/root-doc.txt", + "-sourcepath", (baseDirectory in ThisBuild).value.toString, + "-doc-source-url", + { + val branch = + if (version.value.endsWith("-SNAPSHOT")) { + "master" + } else { + s"v${version.value}" + } + s"https://github.com/freechipsproject/chisel3/tree/$branch/€{FILE_PATH}.scala" + } ), // Include macro classes, resources, and sources main JAR since we don't create subproject JARs. mappings in (Compile, packageBin) ++= (mappings in (coreMacros, Compile, packageBin)).value, |
