mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-03 07:45:14 +00:00
book: pin to mdbook v0.4.40 for now
This commit is contained in:
parent
e22ab4e0eb
commit
b76d1000b6
14
.github/workflows/rust.yml
vendored
14
.github/workflows/rust.yml
vendored
@ -110,10 +110,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: taiki-e/install-action@v2
|
- name: Generate "book/theme/index.hbs" as "skeleton" of the generated pages.
|
||||||
with:
|
run: ./update-theme.py
|
||||||
tool: mdbook
|
working-directory: book
|
||||||
- run: mdbook build book
|
- name: Install mdbook
|
||||||
|
run: |
|
||||||
|
mkdir -p $HOME/bin
|
||||||
|
curl --location --silent --show-error --fail https://github.com/cargo-bins/cargo-quickinstall/releases/download/mdbook-0.4.40/mdbook-0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xzvvf - -C $HOME/bin
|
||||||
|
- name: Convert the book to HTML
|
||||||
|
run: $HOME/bin/mdbook build
|
||||||
|
working-directory: book
|
||||||
|
|
||||||
DevSkim:
|
DevSkim:
|
||||||
name: DevSkim
|
name: DevSkim
|
||||||
|
@ -12,7 +12,7 @@ from pathlib import Path
|
|||||||
INDEX_HBS_DOMAIN = "api.github.com"
|
INDEX_HBS_DOMAIN = "api.github.com"
|
||||||
INDEX_HBS_PORT = 443
|
INDEX_HBS_PORT = 443
|
||||||
INDEX_HBS_PROTO = "GET"
|
INDEX_HBS_PROTO = "GET"
|
||||||
INDEX_HBS_PATH = "/repos/rust-lang/mdBook/contents/src/theme/index.hbs"
|
INDEX_HBS_PATH = "/repos/rust-lang/mdBook/contents/src/theme/index.hbs?ref=v0.4.40"
|
||||||
INDEX_HBS_DATA = None
|
INDEX_HBS_DATA = None
|
||||||
INDEX_HBS_HEADERS = {
|
INDEX_HBS_HEADERS = {
|
||||||
"user-agent": "Update index.hbs for +https://github.com/rinja-rs/rinja",
|
"user-agent": "Update index.hbs for +https://github.com/rinja-rs/rinja",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user