Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Created June 16, 2024 13:00
Show Gist options
  • Save lupyuen/eeae419776fba2b59502fcce05bb1859 to your computer and use it in GitHub Desktop.
Save lupyuen/eeae419776fba2b59502fcce05bb1859 to your computer and use it in GitHub Desktop.
Apache NuttX RTOS: Building the Documentation on macOS
(Documentation) ➜ Documentation git:(sg2000a) ✗ $ make html
Running Sphinx v6.2.1
Extension error:
Could not import extension m2r2 (exception: No module named 'pkg_resources')
make: *** [html] Error 2
(Documentation) ➜ Documentation git:(sg2000a) ✗ $ pip install setuptools
Collecting setuptools
Downloading setuptools-70.0.0-py3-none-any.whl.metadata (5.9 kB)
Downloading setuptools-70.0.0-py3-none-any.whl (863 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 863.4/863.4 kB 27.1 MB/s eta 0:00:00
Installing collected packages: setuptools
Successfully installed setuptools-70.0.0
(Documentation) ➜ Documentation git:(sg2000a) ✗ $ make html
Running Sphinx v6.2.1
making output directory... done
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 1095 source files that are out of date
updating environment: [new config] 1095 added, 0 changed, 0 removed
reading sources... [ 59%] platforms/arm/efm32/boards/olimex-efm32g880f128-stk/inreading sources... [ 59%] platforms/arm/fvp-v8r-aarch32/boards/fvp-armv8r-aarch3reading sources... [ 65%] platforms/arm/nrf52/boards/arduino-nano-33ble-rev2/indreading sources... [ 67%] platforms/arm/rp2040/boards/adafruit-feather-rp2040/inreading sources... [ 67%] platforms/arm/rp2040/boards/adafruit-qt-py-rp2040/indereading sources... [ 68%] platforms/arm/rp2040/boards/waveshare-rp2040-lcd-1.28/reading sources... [ 77%] platforms/arm/stm32f7/boards/stm32f777zit6-meadow/indereading sources... [ 88%] platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-reading sources... [ 88%] platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/reading sources... [100%] substitutions x
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 59%] platforms/arm/efm32/boards/olimex-efm32g880f128-stk/indwriting output... [ 59%] platforms/arm/fvp-v8r-aarch32/boards/fvp-armv8r-aarch32writing output... [ 65%] platforms/arm/nrf52/boards/arduino-nano-33ble-rev2/indewriting output... [ 67%] platforms/arm/rp2040/boards/adafruit-feather-rp2040/indwriting output... [ 68%] platforms/arm/rp2040/boards/waveshare-rp2040-lcd-1.28/iwriting output... [ 88%] platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rwriting output... [ 88%] platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/iwriting output... [100%] substitutions
generating indices... genindex done
writing additional pages... search done
copying images... [ 23%] platforms/arm/gd32f4/boards/gd32f450zk-aiotbox/gd32f450copying images... [ 24%] platforms/arm/gd32f4/boards/gd32f470zk-aiotbox/gd32f470copying images... [ 25%] platforms/arm/gd32f4/boards/gd32f470zk-eval/gd32f470z_ecopying images... [ 26%] platforms/arm/imxrt/boards/imxrt1060-evk/imxrt1060-evk-copying images... [ 29%] platforms/arm/rp2040/boards/adafruit-feather-rp2040/Feacopying images... [ 31%] platforms/arm/rp2040/boards/adafruit-qt-py-rp2040/QT-Pycopying images... [ 32%] platforms/arm/rp2040/boards/pimoroni-tiny2040/Tiny2040.copying images... [ 33%] platforms/arm/rp2040/boards/raspberrypi-pico-w/Raspberrcopying images... [ 34%] platforms/arm/rp2040/boards/raspberrypi-pico/RaspberryPcopying images... [ 35%] platforms/arm/rp2040/boards/seeed-xiao-rp2040/seeed-xiacopying images... [ 36%] platforms/arm/rp2040/boards/w5500-evb-pico/W5500-EVB-Picopying images... [ 37%] platforms/arm/rp2040/boards/waveshare-rp2040-lcd-1.28/Rcopying images... [ 38%] platforms/arm/stm32f4/boards/stm32f401rc-rs485/stm32f40copying images... [ 39%] platforms/arm/stm32h7/boards/linum-stm32h753bi/linum-stcopying images... [ 40%] platforms/arm/stm32h7/boards/linum-stm32h753bi/linum-stcopying images... [ 41%] platforms/arm/stm32h7/boards/weact-stm32h743/weact-stm3copying images... [ 42%] platforms/avr/at32uc3/boards/avr32dev1/mcuzone_uc3b-cpucopying images... [ 43%] platforms/avr/atmega/boards/mega1284p-xplained/board.jpcopying images... [ 44%] platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/Ecopying images... [ 45%] platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/Ecopying images... [ 46%] platforms/risc-v/esp32c3/boards/esp32c3-generic/ESP32-Ccopying images... [ 47%] platforms/risc-v/esp32c3/boards/esp32c3-generic/ESP32-Ccopying images... [ 48%] platforms/risc-v/esp32c3/boards/esp32c3-generic/rmt_symcopying images... [ 49%] platforms/risc-v/esp32c6/boards/esp32c6-devkitc/esp32-ccopying images... [ 50%] platforms/risc-v/esp32c6/boards/esp32c6-devkitc/esp32-ccopying images... [ 50%] platforms/risc-v/esp32c6/boards/esp32c6-devkitc/esp32-ccopying images... [ 51%] platforms/risc-v/esp32c6/boards/esp32c6-devkitc/esp32-ccopying images... [ 52%] platforms/risc-v/esp32c6/boards/esp32c6-devkitc/rmt_symcopying images... [ 53%] platforms/risc-v/esp32c6/boards/esp32c6-devkitm/esp32-ccopying images... [ 54%] platforms/risc-v/esp32c6/boards/esp32c6-devkitm/esp32-ccopying images... [ 55%] platforms/risc-v/esp32c6/boards/esp32c6-devkitm/esp32-ccopying images... [ 56%] platforms/risc-v/esp32c6/boards/esp32c6-devkitm/esp32-ccopying images... [ 57%] platforms/risc-v/esp32c6/boards/esp32c6-devkitm/rmt_symcopying images... [ 58%] platforms/risc-v/esp32h2/boards/esp32h2-devkit/esp32-h2copying images... [ 59%] platforms/risc-v/esp32h2/boards/esp32h2-devkit/ESP32-H2copying images... [ 60%] platforms/risc-v/esp32h2/boards/esp32h2-devkit/esp32-h2copying images... [ 61%] platforms/risc-v/esp32h2/boards/esp32h2-devkit/esp32-h2copying images... [ 62%] platforms/risc-v/esp32h2/boards/esp32h2-devkit/rmt_symbcopying images... [ 66%] platforms/xtensa/esp32/boards/esp32-2432S028/esp32-2432copying images... [ 67%] platforms/xtensa/esp32/boards/esp32-2432S028/esp32-2432copying images... [ 68%] platforms/xtensa/esp32/boards/esp32-audio-kit/esp32-audcopying images... [ 69%] platforms/xtensa/esp32/boards/esp32-audio-kit/esp32-audcopying images... [ 70%] platforms/xtensa/esp32/boards/esp32-devkitc/esp32-core-copying images... [ 71%] platforms/xtensa/esp32/boards/esp32-devkitc/esp32-devkicopying images... [ 72%] platforms/xtensa/esp32/boards/esp32-devkitc/esp32-audiocopying images... [ 73%] platforms/xtensa/esp32/boards/esp32-ethernet-kit/esp32-copying images... [ 74%] platforms/xtensa/esp32/boards/esp32-ethernet-kit/esp32-copying images... [ 75%] platforms/xtensa/esp32/boards/esp32-ethernet-kit/esp32-copying images... [ 76%] platforms/xtensa/esp32/boards/esp32-ethernet-kit/esp32-copying images... [ 77%] platforms/xtensa/esp32/boards/esp32-ethernet-kit/esp32-copying images... [ 78%] platforms/xtensa/esp32/boards/esp32-ethernet-kit/esp32-copying images... [ 79%] platforms/xtensa/esp32/boards/esp32-ethernet-kit/esp32-copying images... [ 80%] platforms/xtensa/esp32/boards/esp32-lyrat/esp32-lyrat-vcopying images... [ 81%] platforms/xtensa/esp32/boards/esp32-lyrat/esp32-lyrat-vcopying images... [ 82%] platforms/xtensa/esp32/boards/esp32-lyrat/esp32-lyrat-vcopying images... [ 83%] platforms/xtensa/esp32/boards/esp32-pico-kit/esp32-picocopying images... [ 84%] platforms/xtensa/esp32/boards/esp32-pico-kit/esp32-picocopying images... [ 85%] platforms/xtensa/esp32/boards/esp32-pico-kit/esp32-picocopying images... [ 86%] platforms/xtensa/esp32/boards/esp32-pico-kit/esp32-picocopying images... [ 87%] platforms/xtensa/esp32/boards/esp32-pico-kit/esp32-picocopying images... [ 88%] platforms/xtensa/esp32/boards/esp32-wrover-kit/esp-wrovcopying images... [ 89%] platforms/xtensa/esp32/boards/esp32-wrover-kit/esp-wrovcopying images... [ 90%] platforms/xtensa/esp32s2/boards/esp32s2-kaluga-1/esp32-copying images... [ 91%] platforms/xtensa/esp32s2/boards/esp32s2-kaluga-1/esp32-copying images... [ 92%] platforms/xtensa/esp32s2/boards/esp32s2-kaluga-1/esp32scopying images... [ 93%] platforms/xtensa/esp32s2/boards/esp32s2-saola-1/esp32-scopying images... [ 94%] platforms/xtensa/esp32s2/boards/esp32s2-saola-1/rmt_symcopying images... [ 95%] platforms/xtensa/esp32s3/boards/esp32s3-devkit/esp32-s3copying images... [ 96%] platforms/xtensa/esp32s3/boards/esp32s3-devkit/esp32-aucopying images... [ 97%] platforms/xtensa/esp32s3/boards/esp32s3-devkit/rmt_symbcopying images... [ 98%] platforms/xtensa/esp32s3/boards/esp32s3-eye/esp32s3_eyecopying images... [100%] _static/images/menuconfig-debug.png
copying downloadable files... [100%] platforms/xtensa/esp32s2/boards/esp32s2-saola-1/tone.wav
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.
The HTML pages are in _build/html.
(Documentation) ➜ Documentation git:(sg2000a) ✗ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment