File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -195,24 +195,14 @@ build-documentation-standalone: ## Build documentation (standalone)
195
195
docker run \
196
196
--rm \
197
197
--volume="$(CURDIR):/app:delegated" \
198
+ --env="CESIUM_TOKEN=${CESIUM_TOKEN}" \
198
199
--volume="/app/build" \
199
200
--workdir=/app/build \
200
201
$(docker_development_image_repository):$(docker_image_version) \
201
- /bin/bash -c "cmake -DBUILD_UNIT_TESTS=OFF -DBUILD_BENCHMARK=OFF -DBUILD_VALIDATION_TESTS=OFF -DBUILD_PYTHON_BINDINGS=ON -DBUILD_DOCUMENTATION=ON .. \
202
+ /bin/bash -c "cmake -DBUILD_UNIT_TESTS=OFF -DBUILD_SHARED_LIBRARY=ON - DBUILD_BENCHMARK=OFF -DBUILD_VALIDATION_TESTS=OFF -DBUILD_PYTHON_BINDINGS=ON -DBUILD_DOCUMENTATION=ON .. \
202
203
&& ostk-build \
203
204
&& ostk-install-python \
204
- && pip install -r /app/docs/requirements.txt \
205
- && mkdir -p /app/docs/_notebooks \
206
- && cd /app/docs/_notebooks \
207
- && git init \
208
- && git remote add origin https://github.com/open-space-collective/open-space-toolkit \
209
- && git config core.sparseCheckout true \
210
- && echo "notebooks/Astrodynamics/*" >> .git/info/sparse-checkout \
211
- && git pull origin main \
212
- && find . -type f -name "*.ipynb" -exec mv {} . \; \
213
- && cd /app/docs \
214
- && breathe-apidoc -o cpp_rst xml -g class \
215
- && sphinx-build -j 4 -b html . _build/html"
205
+ && ostk-build-docs --notebooks Astrodynamics"
216
206
217
207
.PHONY : build-documentation-standalone
218
208
You can’t perform that action at this time.
0 commit comments