Open sunsibar opened 5 years ago
In practice these instructions are no longer used in general. We compile everything through the duckietown shell. Simply clone the doc repo you want to build, move inside and run dts docs build
. I will leave this open to remind us to update the book documentation.
Going through the instructions to compile the book here, for me the following things didn't run as expected:
git submodule init --recursive
: Git didn't recognize these options in my case. Is "--recursive" with "submodule init" a deprecated command? I tried usinggit submodule update --init --recursive
instead, as well as starting from scratch withgit clone --recurse-submodules
, but both did not result in populated submodule directories, even after the below has been fixed.git submodule update --recursive
: Some repositories fail to download, for example:All except the _sky repositories are now moved to 'github.com/duckietown/repository-name.git'. Updating .gitmodules with new addresses and running
git submodule sync
seemed to work. Then again runninggit submodule update --init --recursive
did however not populate the submodules.Lots of errors showed up when running
make realclean all -j
: All the books failed to compile. Some seems to be fixable by removing the -it parameter in run-book-duckuments-docker.sh in the line afterdocker_run="docker run
.To remove one more error I copied the folder ./docs/resources to ./resources (relative to the repository "head").
It still fails, however, since submodules have still not been initialized. I'm out of ideas for now. If anyone has some ideas how to make this work, please share.