Skip to content

Commit

Permalink
Merge pull request #7612 from TheElectronWill/redesign-dottydoc-theme
Browse files Browse the repository at this point in the history
Fix #7595: Redesign dottydoc theme
  • Loading branch information
smarter authored Nov 25, 2019
2 parents c5cc489 + 380687a commit 8c48334
Show file tree
Hide file tree
Showing 10 changed files with 185 additions and 134 deletions.
14 changes: 12 additions & 2 deletions doc-tool/bootstrap-theme/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#!/bin/sh
cd "$(dirname "$0")"
if [ ! -d "node_modules" ]; then
npm install
fi
npm run build
echo "Copying css file..."
echo "Copying CSS result..."
cp target/bootstrap.min.css ../resources/css/bootstrap.min.css
echo "Bootstrap css updated."

# Update the generated website without running sbt
gen_dir=../../docs/_site/css
if [ -d "$gen_dir" ]; then
cp ../resources/css/* $gen_dir/
fi

echo "Bootstrap CSS updated."
111 changes: 37 additions & 74 deletions doc-tool/bootstrap-theme/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doc-tool/bootstrap-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"autoprefixer": "^9.6.1",
"bootstrap": "^4.3.1",
"cssnano": "^4.1.10",
"node-sass": "^4.12.0",
"node-sass": "^4.13.0",
"postcss-cli": "^6.1.3"
}
}
Loading

0 comments on commit 8c48334

Please sign in to comment.