1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-19 18:57:59 +03:00
wezterm/ci/build-docs.sh
Wez Furlong 5c41afacce docs: remove lua syntax highlighting hack
The updated mdbook bits already include this, and our hack resulted
in disabling lua highlighting.
2021-02-01 08:12:21 -08:00

10 lines
348 B
Bash
Executable File

#!/bin/bash
[[ -f /tmp/wezterm.releases.json ]] || curl https://api.github.com/repos/wez/wezterm/releases > /tmp/wezterm.releases.json
python3 ci/subst-release-info.py || exit 1
python3 ci/generate-docs.py || exit 1
mdbook build docs
cp assets/icon/terminal.png gh_pages/html/favicon.png
cp assets/icon/wezterm-icon.svg gh_pages/html/favicon.svg