Skip to content

Commit 4387a60

Browse files
committed
fix web highlight build config
1 parent 89d4b62 commit 4387a60

4 files changed

Lines changed: 14 additions & 4 deletions

File tree

articles/config-epub-jp.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,6 @@ pdfmaker:
469469
# という構成にする必要がある(インデントさせる)
470470
#
471471
webmaker:
472-
highlight:
473-
html: "rouge"
474472
stylesheet: ["style.css", "style-web.css"]
475473

476474
# TechBooster Re:VIEW-Template独自設定

articles/config-web-en.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Web版(英語)用の上書き設定
2+
3+
inherit: ["config-epub-en.yml"]
4+
5+
highlight:
6+
html: "rouge"

articles/config-web-jp.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Web版用の上書き設定
2+
3+
inherit: ["config-epub-jp.yml"]
4+
5+
highlight:
6+
html: "rouge"

build-web.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ mkdir -p "$OUTDIR/ja" "$OUTDIR/en"
99

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

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

2020
# Generate search indices

0 commit comments

Comments
 (0)