Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cached sphinx builds and file content #51

Open
benbovy opened this issue Jun 1, 2022 · 0 comments
Open

Cached sphinx builds and file content #51

benbovy opened this issue Jun 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@benbovy
Copy link

benbovy commented Jun 1, 2022

Description

Contents seem to be removed when re-building the documentation (with the cache).

Reproduce

  1. Run sphinx
$ python -m sphinx -b html -d build/doctrees . build/html
...
[LiteBuildApp] [lite] [contents] All Contents ['/Path/to/notebook.ipynb']
...
LiteBuildApp] creating folder /Users/bbovy/Git/github/benbovy/ipytone/docs/build/html/lite/files
[jupyterlite-sphinx] JupyterLite build done

The directory build/html/lite/files exists and contains the notebook.

  1. Re-run sphinx
$ python -m sphinx -b html -d build/doctrees . build/html
...
[LiteBuildApp] [lite] [contents] All Contents []
...
[jupyterlite-sphinx] JupyterLite build done

No build/html/lite/files directory

Expected behavior

Contents are copied into the JupyterLite build when re-running sphinx.

Context

  • JupyterLite version: 0.1.0b7
  • Sphinx version: 4.3.2
  • Jupyterlite-sphinx version: 0.4.7
@benbovy benbovy added the bug Something isn't working label Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant