crate / crate-docs

Common build system, QA tools, style guides, and other meta miscellanies for doing docs at Crate.io.
Apache License 2.0
2 stars 1 forks source link

Update Makefile to use python3 #93

Closed matkuliak closed 2 years ago

matkuliak commented 2 years ago

As I was setting up the docs environment I encountered this issue:

Even though I have python, python3, python-sphinx, python3-sphinx, sphinx-build and everything else necessary to run Sphinx (and have run Sphinx previously without issues), after running make html I kept getting back:

nmt@nmt:~/crate.io/cloud-howtos/docs$ make html
/bin/sh: 1: python: not found
Makefile:92: *** No build version specified in `build.json`..  Stop.

@amotl recommended editing the JSON parsing to use python3. This has fixed the issue.