Skip to content

Replace nbsphinx tutorials with sphinx-gallery examples #596

@hakonanes

Description

@hakonanes

I'd like us to replace the nbsphinx tutorials (notebooks) with sphinx-gallery examples, because:

  • any gallery example where some functionality is explicitly used is listed at the bottom of the technical reference
  • example scripts are easier to maintain than the tutorials
  • example scripts are therefore also easier for new contributors to contribute
  • sphinx-gallery is more widely used (and maintained) than nbsphinx

One benefit with nbsphinx is the ability to cache notebook output and therefore avoid having to actually run the code on building the docs. However, since we don't use this currently, I think it's fine to lose that option.

Another drawback is that links to tutorials will be lost. We could try to set up redirecting on Read the Docs, but I'm not sure it's worth it.

Any objections or thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationRelates to the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions