Unverified Commit 6613e766 authored by Richard Si's avatar Richard Si Committed by GitHub
Browse files

Fix and test docs on Windows (#2262)

There's some weird interaction between Click and
sphinxcontrib-programoutput on Windows that leads to an encoding error
during the printing of black-primer's help text.

Also symlinks aren't well supported on Windows so let's just use
includes which actually work because we now use MyST :D
parent 754eecf6
Loading
Loading
Loading
Loading
+7 −4
Changes for .github/workflows/doc.yml: 7 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -11,14 +11,17 @@ jobs:
      github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
      github.repository

    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest]

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

      - name: Set up Python 3.9
      - name: Set up latest Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.9

      - name: Install dependencies
        run: |
+1 −0
Changes for CHANGES.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
- Fix typos discovered by codespell (#2228)
- Fix Vim plugin installation instructions. (#2235)
- Add new Frequently Asked Questions page (#2247)
- Fix encoding + symlink issues preventing proper build on Windows (#2262)

## 21.5b1

docs/authors.md

deleted120000 → 0
+0 −1
Changes for docs/authors.md: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
../AUTHORS.md
 No newline at end of file

docs/authors.md

0 → 100644
+3 −0
Changes for docs/authors.md: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
```{include} ../AUTHORS.md

```

docs/change_log.md

deleted120000 → 0
+0 −1
Changes for docs/change_log.md: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
../CHANGES.md
 No newline at end of file
Loading