Add documentation building to README
This change updates the README with the steps to build and open the
upstream documentation.
Change-Id: Ib12b0d30cc6f984e1f0f01fd76466024bc21b69c
diff --git a/README.md b/README.md
index e177dc7..9ad3469 100644
--- a/README.md
+++ b/README.md
@@ -68,6 +68,13 @@
$ pw test --root out/disco/ --runner stm32f429i_disc1_unit_test_runner
```
+**Build upstream Pigweed documentation**
+```bash
+$ gn gen --args='pw_target_config = "//targets/docs/target_config.gni"' out/docs
+$ ninja -C out/docs
+$ google-chrome out/docs/gen/docs/html/index.html
+```
+
The CMake and Bazel builds do not yet support building for hardware.
To flash firmware to an STM32 Discovery development board (and run `pw test`)