Skip to content

Copy executable docs listed in _toc.yml over to /files #48

@psychemedia

Description

@psychemedia

The demo executable-book PR executablebooks/sphinx-book-theme#558 adds a "Launch in Jupterlite" button to Jupyter Book.

At the moment, the user must manually copy over notebook files to the distribution.

Ideally,jupyterlite-sphinx should copy over executable documents (that can be legitimately launched in JupyterLite) that are listed in _toc.yml over to the distribution directory (eg _build/html/lite/files). There also needs to be a mechanism to copy over additional files referenced from the notebooks.

I'm a little wary that a blanket "copy over all the contents of a specified directory" is too heavyweight, and might copy over unpublished book files that are not listed in _toc.yml over to the JupyterLite file tree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions