1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 23:04:49 +03:00

Revert "ci: disable mdbook-linkcheck"

This reverts commit bef0fa29ac and
bb2d45d0aa.

refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53
This commit is contained in:
Wez Furlong 2021-02-24 09:27:13 -08:00
parent c5b512748f
commit 35060fb2de
3 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@ jobs:
run: |
mkdir -p ~/mdbook-bin
(test -x ~/mdbook-bin/mdbook || (cd && cargo install --vers "^0.4" mdbook && cp -p ~/.cargo/bin/mdbook ~/mdbook-bin))
#(test -x ~/mdbook-bin/mdbook-linkcheck || (cd && cargo install mdbook-linkcheck && cp -p ~/.cargo/bin/mdbook-linkcheck ~/mdbook-bin))
(test -x ~/mdbook-bin/mdbook-linkcheck || (cd && cargo install mdbook-linkcheck && cp -p ~/.cargo/bin/mdbook-linkcheck ~/mdbook-bin))
- name: Build
run: |
source $HOME/.cargo/env
@ -44,7 +44,7 @@ jobs:
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: gh_pages
build_dir: gh_pages/html
keep_history: true
allow_empty_commit: false
env:

View File

@ -5,5 +5,5 @@ 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/favicon.png
cp assets/icon/wezterm-icon.svg gh_pages/favicon.svg
cp assets/icon/terminal.png gh_pages/html/favicon.png
cp assets/icon/wezterm-icon.svg gh_pages/html/favicon.svg

View File

@ -13,5 +13,5 @@ default-theme = "ayu"
preferred-dark-theme = "ayu"
git-repository-url = "https://github.com/wez/wezterm"
#[output.linkcheck]
#traverse-parent-directories = false
[output.linkcheck]
traverse-parent-directories = false