Skip to content

Commit

Permalink
chore: update mdbook version + clean up and update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau committed Jun 24, 2024
1 parent c22a227 commit 859219e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 65 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: github pages

on:
push:
workflow_dispatch:

# Lookup compatible version numbers at: https://github.com/lzanini/mdbook-katex/releases
env:
mdbook-version: '0.4.37'
katex-version: '0.5.9'
mdbook-version: '0.4.40'
katex-version: '0.9.0'
linkcheck-version: '0.7.7'

jobs:
deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/manual-deploy.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Install mdbook and mdbook-katex

```bash
cargo install mdbook --version 0.4.37
cargo install mdbook-katex --version 0.7.0
cargo install mdbook --version 0.4.40
cargo install mdbook-katex --version 0.9.0
cargo install mdbook-linkcheck
```

Expand Down
6 changes: 3 additions & 3 deletions theme/update_theme.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env cargo +nightly -Zscript
```cargo
---
[dependencies]
reqwest = { version = "0.11", features = ["blocking"] }
```
---

// This script fetches the 'index.hbs' file from the mdBook repository and filters the
// content to only present the 'ayu' theme.
Expand All @@ -11,7 +11,7 @@ use reqwest::blocking;
use std::fs::File;
use std::io::{self, Write};

const MDBOOK_VERSION: &str = "0.4.37";
const MDBOOK_VERSION: &str = "0.4.40";

fn main() -> io::Result<()> {
let url = format!(
Expand Down

0 comments on commit 859219e

Please sign in to comment.