mdbook-plotly 0.2.3

A mdbook preprocessor that renders plot code blocks (e.g., ```plot) into interactive or static charts during book build.
Documentation
name: Release
permissions:
  contents: write
on:
  push:
    tags:
      - v[0-9]+.*

jobs:
  create-release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: taiki-e/create-gh-release-action@v1
        with:
          changelog: docs/CHANGELOG.md
          token: ${{ secrets.GITHUB_TOKEN }}

  upload-assets:
    needs: create-release
    strategy:
      fail-fast: false
      matrix:
        include:
          # macOS ARM64
          - target: aarch64-apple-darwin
            os: macos-latest
            # features: full-handlers
          # macOS x86_64
          - target: x86_64-apple-darwin
            os: macos-latest
            # features: full-handlers
          # Windows x64 MSVC
          - target: x86_64-pc-windows-msvc
            os: windows-latest
            # features: full-handlers
          # Linux x64 glibc
          - target: x86_64-unknown-linux-gnu
            os: ubuntu-latest
            # features: full-handlers
          # Linux x64 musl (static)
          - target: x86_64-unknown-linux-musl
            os: ubuntu-latest
          # Linux ARM64 musl (static)
          - target: aarch64-unknown-linux-musl
            os: ubuntu-latest

    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v6

      - name: Install Rust target
        run: rustup target add ${{ matrix.target }}

      - uses: taiki-e/upload-rust-binary-action@v1
        with:
          bin: mdbook-plotly
          target: ${{ matrix.target }}
          tar: unix
          zip: windows
          features: ${{ matrix.features }}
          token: ${{ secrets.GITHUB_TOKEN }}