aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-14 12:51:19 +0000
committer_ov4 <ov4@ov4.org>2026-10-14 12:51:19 +0000
commit0d4085be0c1a4a3750e096c79f4cf5da28189d83 (patch)
tree0c9686c5df841d8319eb801eca29ea4355c8a8b0 /doc
parent7594983f5d15ac15d34683e976ba78cb173fedd0 (diff)
parent8489f70166c99f1cc6fb2eba38446fd615909437 (diff)
Merge branch 'main' of https://github.com/ovfor4/cie-pseudocode-compiler
Diffstat (limited to 'doc')
-rw-r--r--doc/build.md19
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/build.md b/doc/build.md
index 1af8a81..d686689 100644
--- a/doc/build.md
+++ b/doc/build.md
@@ -260,16 +260,21 @@ macOS:
HOMEBREW_CACHE="$PWD/build/deps/packages" brew fetch --force-bottle pandoc gmp
```
-Windows has no MSYS2 Pandoc package. Download the official x86_64 ZIP from
-PowerShell, without running an installer:
+Windows has no MSYS2 Pandoc package. After configuring the build above, run
+these commands in the MSYS2 MINGW64 shell to download the official x86_64 ZIP
+and generate the manual without running an installer:
-```powershell
-New-Item -ItemType Directory -Force build/deps/packages | Out-Null
-$release = Invoke-RestMethod https://api.github.com/repos/jgm/pandoc/releases/latest
-$asset = $release.assets | Where-Object { $_.name -like 'pandoc-*-windows-x86_64.zip' }
-Invoke-WebRequest -UseBasicParsing $asset.browser_download_url -OutFile "build/deps/packages/$($asset.name)"
+```bash
+mkdir -p build/deps/packages
+wget -O build/deps/packages/pandoc-3.12.1-windows-x86_64.zip \
+ https://github.com/jgm/pandoc/releases/download/3.12.1/pandoc-3.12.1-windows-x86_64.zip
+cmake -S . -B build
+mingw32-make -C build doc
```
+CMake extracts the ZIP into `build/deps/root/` during reconfiguration and finds
+the local Pandoc automatically.
+
The ZIP is provided on the [official Pandoc download page](https://pandoc.org/installing.html).
Reconfigure using your platform's build command above, then generate the manual: