Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions articles/config-epub-jp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,6 @@ pdfmaker:
# という構成にする必要がある(インデントさせる)
#
webmaker:
highlight:
html: "rouge"
stylesheet: ["style.css", "style-web.css"]

# TechBooster Re:VIEW-Template独自設定
Expand Down
6 changes: 6 additions & 0 deletions articles/config-web-en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Web版(英語)用の上書き設定

inherit: ["config-epub-en.yml"]

highlight:
html: "rouge"
6 changes: 6 additions & 0 deletions articles/config-web-jp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Web版用の上書き設定

inherit: ["config-epub-jp.yml"]

highlight:
html: "rouge"
4 changes: 2 additions & 2 deletions build-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ mkdir -p "$OUTDIR/ja" "$OUTDIR/en"

# Build Japanese
echo "=== Building Japanese ==="
REVIEW_CONFIG_FILE=config-epub-jp.yml npx grunt web
REVIEW_CONFIG_FILE=config-web-jp.yml npx grunt web
cp -r "$WEBROOT/"* "$OUTDIR/ja/"

# Build English
echo "=== Building English ==="
REVIEW_CONFIG_FILE=config-epub-en.yml npx grunt web
REVIEW_CONFIG_FILE=config-web-en.yml npx grunt web
cp -r "$WEBROOT/"* "$OUTDIR/en/"

# Generate search indices
Expand Down
Loading