Skip to content

Commit

Permalink
Ignore MoveIt and MoveIt Core Packages from docs Imports (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Holum committed Jan 16, 2024
1 parent d38b9d6 commit 558cd55
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 2 additions & 5 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
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 558cd55

Please sign in to comment.