Skip to content

Commit

Permalink
Merge branch 'ros-planning:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mosfet80 authored Jan 17, 2024
2 parents c7cac71 + ca02877 commit cb16303
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
image: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
with:
ref: 'main'

- name: Install Python dependencies
run: |
Expand Down Expand Up @@ -91,11 +89,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 'main'

- uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'
cache: 'pip'

- name: Install Python dependencies
Expand All @@ -108,7 +105,7 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
ruby-version: '3'

# TODO (peterdavidfagan): don't hardcode branches for downloads
- name: Download Rolling Artifacts
Expand Down Expand Up @@ -141,9 +138,9 @@ jobs:
# TODO(henningkayser): fix hack for using python api artifact in multiversion
- name: Build multiversion
run: |
cp build/html/main/doc/api/python_api/api.html . # backup artifact html
cp -r build/html/main/doc/api/python_api/ . # backup artifact html
make multiversion
cp -f api.html build/html/main/doc/api/python_api/ # restore artifact html
cp -rf python_api/ build/html/main/doc/api/ # restore artifact html
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
Expand Down
10 changes: 10 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,16 @@
doxylink = {"cpp_api": ("build/html/api/MoveIt.tag", "api/html")}
add_function_parentheses = True

# Needed to support previous versions that did not include python bindings
try:
import moveit
except Exception as e:
autodoc_mock_imports = [
"moveit",
"moveit.core",
"moveit.planning",
"moveit.servo_client",
]

autodoc_typehints = "signature"

Expand Down

0 comments on commit cb16303

Please sign in to comment.