literate 0.5.1

A literate programming tool that extracts code written in your Markdown files.
Documentation
name: Publish Docs

on:
  push:
    branches: [ main ]
  workflow_dispatch: {}

env:
  CARGO_TERM_COLOR: always

jobs:
  publish:
    name: Publish Docs to Github Pages
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          override: true
      - name: Cache Cargo
        uses: Swatinem/rust-cache@v1.3.0
      - name: Build Docs
        uses: actions-rs/cargo@v1
        env:
            RUSTDOCFLAGS: "--cfg docsrs"
        with:
          command: doc          
          args: --verbose --all-features
      - uses: JamesIves/github-pages-deploy-action@4.1.8
        with:
          branch: gh-pages
          folder: target/doc