fix: preserve block comments followed by single-line comments (#104) #84
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: github pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - docs | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: baptiste0928/cargo-install@v2 | |
| with: | |
| crate: mdbook | |
| version: 0.4.36 | |
| - uses: baptiste0928/cargo-install@v2 | |
| with: | |
| crate: mdbook-toc | |
| version: 0.14.1 | |
| - uses: baptiste0928/cargo-install@v2 | |
| with: | |
| crate: mdbook-open-on-gh | |
| version: 2.4.1 | |
| - uses: baptiste0928/cargo-install@v2 | |
| with: | |
| crate: mdbook-admonish | |
| version: 1.14.0 | |
| - name: Build book | |
| run: | | |
| PATH=.cargo/bin:$PATH mdbook build docs | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/book | |
| force_orphan: true |