Skip to content

Commit c01409b

Browse files
committed
serve: do not run tooltip gen twice if not needed
Signed-off-by: Hofi <hofione@gmail.com>
1 parent be09818 commit c01409b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_tools/serve

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ start_process() {
4242
# as the output of it must already be presented to be able to serve a valid content
4343
#
4444
if [ "${JEKYLL_BUILD_LINKS}" == "yes" ]; then
45-
./_tools/navgen ./doc ./_data/navigation.yml
45+
# tooltips will be built at jekyll serve startup automatically if enabled, do not do it twice
46+
JEKYLL_BUILD_TOOLTIPS='no' ./_tools/navgen ./doc ./_data/navigation.yml
4647
fi
4748

4849
echo -e "\nStarting to serve...\n"

0 commit comments

Comments
 (0)