-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into notebook-review
# Conflicts: # notebooks/1a-configurations.ipynb # notebooks/1b-botop.ipynb # notebooks/1c-komo.ipynb # notebooks/configurationEditing.ipynb # notebooks/features.ipynb # notebooks/komo-reporting.ipynb
- Loading branch information
Showing
47 changed files
with
355 additions
and
5,717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: SphinxDocumentation | ||
|
||
on: [push, pull_request] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.10' | ||
- name: install ubuntu dependencies | ||
run: | | ||
sudo apt-get install pandoc freeglut3 libglew-dev | ||
- name: install python dependencies | ||
run: | | ||
pip install sphinx sphinx_rtd_theme myst_parser nbsphinx robotic numpy | ||
- name: Sphinx build | ||
run: | | ||
cd rai-docs && sphinx-build doc ../html | ||
- name: Deploy to GitHub Pages | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ | |
[submodule "botop"] | ||
path = botop | ||
url = [email protected]:MarcToussaint/botop.git | ||
[submodule "rai-docs"] | ||
path = rai-docs | ||
url = [email protected]:MarcToussaint/rai-docs.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
default: docs | ||
|
||
docs: | ||
cd rai-docs && sphinx-build doc ../html | ||
|
||
docs-clean: | ||
rm -Rf html | ||
|
||
install: | ||
ln -f -s _build_utils/CMakeLists-ubuntu.txt CMakeLists.txt | ||
cmake -B build . | ||
+make -C build _robotic docstrings install | ||
|
||
install-clean: | ||
rm -R ${HOME}/.local/lib/python3.8/site-packages/robotic* | ||
rm ${HOME}/.local/lib/*rai* | ||
rm ${HOME}/.local/bin/*ry* | ||
|
||
wheels: | ||
$(eval id = $(shell _build_utils/run-docker.sh -d)) | ||
@echo "started docker " ${id} | ||
docker exec -it ${id} /bin/bash -C local/_build_utils/build-wheels.sh | ||
docker stop ${id} | ||
# _build_utils/run-docker.sh local/_build_utils/build-wheels.sh | ||
|
||
wheels-upload: | ||
twine upload dist/*.whl --repository robotic | ||
|
||
wheels-local: | ||
python3.8 -m pip install --user dist/robotic-*cp38*.whl --force-reinstall | ||
|
||
test: | ||
cd ${HOME} && python3 -c 'from robotic import ry; print("ry version:", ry.__version__, ry.compiled());' | ||
|
||
pull: | ||
cd rai && git pull | ||
cd rai-robotModels && git pull | ||
cd rai-docs && git pull | ||
cd botop && git pull | ||
|
||
docker-clean: | ||
$(shell docker container kill "$(docker container ls -q)") | ||
docker system prune | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.