Skip to content

Commit

Permalink
fix(backport): Use str object for jupyterlite-sphinx jupyterlite_dir …
Browse files Browse the repository at this point in the history
…config (scikit-hep#2501)

* Backport PR scikit-hep#2458
* To avoid warning

WARNING: The config value `jupyterlite_dir` has type `PosixPath`, defaults to `str`.

 use a str for the jupyterlite-sphinx v0.13.0+ jupyterlite_dir config
 option.

Co-authored-by: Matthew Feickert <[email protected]>
  • Loading branch information
meeseeksmachine and matthewfeickert authored May 30, 2024
1 parent 88ba93b commit 1dec306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,5 +531,5 @@ def setup(app):
linkcheck_retries = 50

# JupyterLite configuration
# Use Path as jupyterlite-sphinx expects PosixPath
jupyterlite_dir = Path("lite")
# jupyterlite-sphinx v0.13.0+ expects str
jupyterlite_dir = str(Path("lite"))

0 comments on commit 1dec306

Please sign in to comment.