Skip to content

Commit 8c48334

Browse files
authored
Merge pull request #7612 from TheElectronWill/redesign-dottydoc-theme
Fix #7595: Redesign dottydoc theme
2 parents c5cc489 + 380687a commit 8c48334

File tree

10 files changed

+185
-134
lines changed

10 files changed

+185
-134
lines changed

doc-tool/bootstrap-theme/build.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
#!/bin/sh
22
cd "$(dirname "$0")"
3+
if [ ! -d "node_modules" ]; then
4+
npm install
5+
fi
36
npm run build
4-
echo "Copying css file..."
7+
echo "Copying CSS result..."
58
cp target/bootstrap.min.css ../resources/css/bootstrap.min.css
6-
echo "Bootstrap css updated."
9+
10+
# Update the generated website without running sbt
11+
gen_dir=../../docs/_site/css
12+
if [ -d "$gen_dir" ]; then
13+
cp ../resources/css/* $gen_dir/
14+
fi
15+
16+
echo "Bootstrap CSS updated."

doc-tool/bootstrap-theme/package-lock.json

Lines changed: 37 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc-tool/bootstrap-theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"autoprefixer": "^9.6.1",
1515
"bootstrap": "^4.3.1",
1616
"cssnano": "^4.1.10",
17-
"node-sass": "^4.12.0",
17+
"node-sass": "^4.13.0",
1818
"postcss-cli": "^6.1.3"
1919
}
2020
}

0 commit comments

Comments
 (0)