Skip to content

Commit 558cd55

Browse files
author
Erik Holum
authored
Ignore MoveIt and MoveIt Core Packages from docs Imports (#859)
1 parent d38b9d6 commit 558cd55

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ jobs:
5656
image: ${{ matrix.container }}
5757
steps:
5858
- uses: actions/checkout@v4
59-
with:
60-
ref: 'main'
6159

6260
- name: Install Python dependencies
6361
run: |
@@ -91,11 +89,10 @@ jobs:
9189
- uses: actions/checkout@v4
9290
with:
9391
fetch-depth: 0
94-
ref: 'main'
9592

9693
- uses: actions/setup-python@v4
9794
with:
98-
python-version: '3.8'
95+
python-version: '3.10'
9996
cache: 'pip'
10097

10198
- name: Install Python dependencies
@@ -108,7 +105,7 @@ jobs:
108105

109106
- uses: ruby/setup-ruby@v1
110107
with:
111-
ruby-version: '2.7'
108+
ruby-version: '3'
112109

113110
# TODO (peterdavidfagan): don't hardcode branches for downloads
114111
- name: Download Rolling Artifacts

conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,16 @@
254254
doxylink = {"cpp_api": ("build/html/api/MoveIt.tag", "api/html")}
255255
add_function_parentheses = True
256256

257+
# Needed to support previous versions that did not include python bindings
258+
try:
259+
import moveit
260+
except Exception as e:
261+
autodoc_mock_imports = [
262+
"moveit",
263+
"moveit.core",
264+
"moveit.planning",
265+
"moveit.servo_client",
266+
]
257267

258268
autodoc_typehints = "signature"
259269

0 commit comments

Comments
 (0)