Skip to content

Commit

Permalink
feat: Build wheel in Read the Docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Mar 1, 2024
1 parent 46a00aa commit 2e0ca39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
9 changes: 4 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ build:
tools:
python: "3.8"
rust: "latest"

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml
jobs:
pre_build:
- maturin develop --release

# Optionally build your docs in additional formats such as PDF
formats:
Expand All @@ -40,4 +39,4 @@ formats:
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
- requirements: requirements-dev.txt
3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@

# -- Project setup --------------------------------------------------------------

# NOTE: as zenoh-python is developped in Rust, it must be compiled and install in Python environment
# in order to be imported here (and the Sphinx autodoc extension to load the doc from the compiled code)
# For readthedocs.org, zenoh-python is added in docs/requirements.txt so it get it from pypi.org
import zenoh

# -- Project information -----------------------------------------------------
Expand Down
3 changes: 0 additions & 3 deletions docs/requirements.txt

This file was deleted.

0 comments on commit 2e0ca39

Please sign in to comment.