mirror of
https://github.com/wez/wezterm.git
synced 2024-11-09 22:15:15 +03:00
2a8ff9ca75
This is a bit more compact and easier to edit. A downside is that the search engine highlight can break the diagram and cause it to emit a syntax error.
15 lines
616 B
Bash
Executable File
15 lines
616 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
[[ -f /tmp/wezterm.releases.json ]] || curl https://api.github.com/repos/wez/wezterm/releases > /tmp/wezterm.releases.json
|
|
[[ -f /tmp/wezterm.nightly.json ]] || curl https://api.github.com/repos/wez/wezterm/releases/tags/nightly > /tmp/wezterm.nightly.json
|
|
python3 ci/subst-release-info.py || exit 1
|
|
python3 ci/generate-docs.py || exit 1
|
|
mdbook-mermaid install docs
|
|
mdbook build docs
|
|
|
|
rm gh_pages/html/README.markdown
|
|
cp assets/fonts/Symbols-Nerd-Font-Mono.ttf gh_pages/html/fonts/
|
|
cp assets/icon/terminal.png gh_pages/html/favicon.png
|
|
cp "assets/icon/wezterm-icon.svg" gh_pages/html/favicon.svg
|