Repository navigation
Simpler build - #664
Simpler build#664
Conversation
Automated Review URLs |
|
👍 did a quick test and I'm happy with how this works |
|
Not sure I like the build script modifying the repo. How about adding a recipe for submodule updates into the Makefile instead - that way the build script stays pure, but the user still benefits from not having to remember the commands for updating submodules? |
That was my initial idea at first as well, but then the |
Yeah, good point. I guess it is a smell. I am okay with the Makefile + the clearer error message in sphinx-autobuild. I defer to @jo-mueller on the decision |
|
Ok, I ended up updating only the install instructions. Putting the git commands in the build code is arguably smelly, but then the current install commands won't work anymore: pip install -r requirements.txt
pip install specifications/devbecause cd path/to/ngff/repo
pip install -r requirements.txt
git submodule update --init --depth 1
pip install specifications/devand #662 makes sure that the page builds even if the submodules are somehow not existant/broken/whatever. I think that's probably the most feasible path forward. |
joshmoore
left a comment
There was a problem hiding this comment.
README changes MSTM, plus I've run into the error of having not checked out the submodules 💯 for an extra warning.
|
Thank you @jo-mueller , with Josh's okay I went ahead and merged it. |
|
#662 can be closed now? |
Fixes #659
Depends on #662
This PR bakes the submopule update into the sphinx build script. I also correctly the build instructions mildly so that the
makecalls are correct for both Unix and Windows (Windows needs.\make html)