Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into another-multiversion-…
Browse files Browse the repository at this point in the history
…hack
  • Loading branch information
sea-bass committed Jan 16, 2024
2 parents aedcc15 + 558cd55 commit cb29b0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
9 changes: 3 additions & 6 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 @@ -143,7 +140,7 @@ jobs:
run: |
cp -r build/html/main/doc/api/python_api/ . # backup artifact html
make multiversion
cp -rf api.html build/html/main/doc/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 cb29b0d

Please sign in to comment.