Skip to content

Support notebooks outside of Sphinx root directory. #297

@jklaise

Description

@jklaise

I'm currently using nbsphinx to convert example notebooks to static documentation and they have a nifty plugin nbsphinx-link which allows the notebooks to reside outside the sphinx root directory. This is useful because then the example notebooks can live at the top level of a code repository (examples), whilst the documentation under doc/source can still include the examples directory in the doc files to be built (nbsphinx-link achieves this by creating .nblink files under doc/source which contain relative links to the source notebooks).

I've had a look at the myst-nb and myst-parser documentation and I saw the section on including files but not for linking to files outside of sphinx root. Is this something that is supported or planned? Thanks!

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