You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, jupyterlite-sphinx runs the `jupyter lite build` command in the docs directory, you can overwrite this behavior and ask jupyterlite to build in a given directory:
```python
# Build in the current directory
jupyterlite_dir ="/path/to/your/lite/dir"
```
Suggested Improvement
It would be good to avoid warnings at runtime for users, so if the docs can be updated to show usage of a pathlib.Path or os.path object that would be great.
Problem
Following scikit-hep/pyhf#2299 I noticed that
jupyterlite_dir
config optionjupyterlite-sphinx/jupyterlite_sphinx/jupyterlite_sphinx.py
Line 357 in 83663db
is expected to be a
PosixPath
objectjupyterlite-sphinx/jupyterlite_sphinx/jupyterlite_sphinx.py
Lines 247 to 249 in 83663db
else it can raise a warning of
However, in the docs it is show as a
str
:jupyterlite-sphinx/docs/configuration.md
Lines 15 to 22 in 83663db
Suggested Improvement
It would be good to avoid warnings at runtime for users, so if the docs can be updated to show usage of a
pathlib.Path
oros.path
object that would be great.Related: scikit-hep/pyhf#2300
The text was updated successfully, but these errors were encountered: