Skip to content

Commit

Permalink
fix: Use Path object for jupyterlite-sphinx jupyterlite_dir config (#…
Browse files Browse the repository at this point in the history
…2300)

* To avoid warning

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

 use a pathlib.Path for the jupyterlite-sphinx v0.9.1 jupyterlite_dir config
 option.
  • Loading branch information
matthewfeickert authored Aug 17, 2023
1 parent b687487 commit e48c035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,4 +529,5 @@ def setup(app):
linkcheck_retries = 50

# JupyterLite configuration
jupyterlite_dir = "lite"
# Use Path as jupyterlite-sphinx expects PosixPath
jupyterlite_dir = Path("lite")

0 comments on commit e48c035

Please sign in to comment.