Skip to content

Commit

Permalink
Merge branch 'master' into troubleshooting-bitcoind
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph committed Oct 3, 2023
2 parents 03196da + 8b46dcf commit 3fac641
Show file tree
Hide file tree
Showing 181 changed files with 33,196 additions and 4,616 deletions.
27 changes: 26 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,30 @@ defaults:

env:
RUSTFLAGS: --deny warnings
LANGUAGES: es zh ja fil

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2


- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1
with:
override: true
toolchain: stable

- uses: Swatinem/rust-cache@v2

- uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: latest

- name: Install mdbook-i18n-helpers
run: cargo install mdbook-i18n-helpers

- name: Install mdbook-linkcheck
run: |
mkdir -p mdbook-linkcheck
Expand All @@ -34,7 +47,18 @@ jobs:
chmod +x mdbook-linkcheck
pwd >> $GITHUB_PATH
- run: mdbook build docs
- name: Build docs
run: mdbook build docs -d build

- name: Build all translations for docs
run: |
for lang in ${{ env.LANGUAGES }}; do
echo "::group::Building $lang translation"
MDBOOK_BOOK__LANGUAGE=$lang \
mdbook build docs -d build/$lang
mv docs/build/$lang/html docs/build/html/$lang
echo "::endgroup::"
done
- name: Deploy Pages
uses: peaceiris/actions-gh-pages@v3
Expand All @@ -43,6 +67,7 @@ jobs:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_branch: gh-pages
publish_dir: docs/build/html

lint:
runs-on: ubuntu-latest

Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# ignore everything
/*
# except docs
!/docs
Loading

0 comments on commit 3fac641

Please sign in to comment.