-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add Makefile "publish" target - Use docs/ghpagesPushSite for publishing (needed for API) - Fix CSS issues due to bad base url - Fix missing font resources - Add v3.0.0 Chisel API docs Signed-off-by: Schuyler Eldridge <[email protected]>
- Loading branch information
Showing
6 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,8 @@ build | |
|
||
travis-deploy-key | ||
travis-deploy-key.pub | ||
|
||
test_run_dir | ||
*.anno.json | ||
*.v | ||
*.fir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,11 @@ branches: | |
only: | ||
- master | ||
|
||
before_script: | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "ucb-bar-jenkins" | ||
- git config --global push.default simple | ||
|
||
jobs: | ||
include: | ||
- stage: "legacy chisel apis" | ||
|
@@ -48,5 +53,5 @@ jobs: | |
- gem install sass | ||
- gem install jekyll -v 3.8.5 | ||
- make | ||
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then bash scripts/publishMicrosite.sh; fi | ||
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then make publish; fi | ||
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then echo "Not in master branch, skipping deploy and release"; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,20 +23,19 @@ val technologies: String = | |
| - third: ["FIRRTL", "The FIRRTL circuit compiler starts after Chisel and enables backend (FPGA, ASIC, technology) specialization, automated circuit transformation, and Verilog generation."] | ||
|""".stripMargin | ||
|
||
lazy val docsMappingsAPIDir = settingKey[String]("Name of subdirectory in site target directory for api docs") | ||
|
||
lazy val micrositeSettings = Seq( | ||
scalaVersion := "2.12.6", | ||
micrositeName := "Chisel/FIRRTL", | ||
micrositeDescription := "Chisel/FIRRTL\nHardware Compiler Framework", | ||
micrositeUrl := "https://chisel.eecs.berkeley.edu", | ||
micrositeUrl := "https://freechipsproject.github.io/www.chisel-lang.org", | ||
micrositeBaseUrl := "www.chisel-lang.org", | ||
micrositeAuthor := "the Chisel/FIRRTL Developers", | ||
micrositeTwitter := "@chisel_lang", | ||
micrositeGithubOwner := "freechipsproject", | ||
micrositeGithubRepo := "chisel3", | ||
micrositeGithubLinks := false, | ||
micrositeShareOnSocial := false, | ||
micrositeDocumentationUrl := "api/chisel3/latest", | ||
micrositeDocumentationUrl := "api/chisel3/latest/", | ||
micrositeDocumentationLabelDescription := "API Documentation", | ||
/* mdoc doesn't work with extraMDFiles so this is disabled for now */ | ||
// micrositeCompilingDocsTool := WithMdoc, | ||
|
@@ -87,16 +86,18 @@ lazy val micrositeSettings = Seq( | |
"gray-lighter" -> "#F4F3F4", | ||
"white-color" -> "#FFFFFF"), | ||
autoAPIMappings := true, | ||
docsMappingsAPIDir := "api/chisel3", | ||
ghpagesNoJekyll := false, | ||
scalacOptions in (ScalaUnidoc, unidoc) ++= Seq( | ||
"-groups", | ||
"-sourcepath", | ||
baseDirectory.in(LocalRootProject).value.getAbsolutePath, | ||
"-diagrams" | ||
), | ||
git.remoteRepo := "[email protected]:freechipsproject/chisel3.git", | ||
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.yml" | "*.md" | "*.svg", | ||
ghpagesRepository := file("build/gh-pages"), | ||
ghpagesBranch := "gh-pages", | ||
git.remoteRepo := "[email protected]:freechipsproject/www.chisel-lang.org.git", | ||
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.yml" | "*.md" | | ||
"*.svg" | "*.woff" | "*.ttf", | ||
includeFilter in Jekyll := (includeFilter in makeSite).value | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.