question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Notebooks on readthedocs

See original GitHub issue

We want notebooks that automatically run through on readthedocs: https://nbsphinx.readthedocs.io/en/0.3.5. So that the basic tutorial (https://nbviewer.jupyter.org/github/theislab/scanpy_usage/blob/master/170505_seurat/seurat.ipynb) can be integrated into the scanpy repository in docs/tutorials as a notebook with all output cleared (no images etc.). It is run on the readthedocs server and will produce exactly the same output, as is guaranteed by this test: https://github.com/theislab/scanpy/blob/master/scanpy/tests/notebooks/pbmc3k.py

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
grstcommented, Nov 27, 2018

The only thing I need to make sure is if there is a way that people cannot commit notebooks with output in them to the scanpy repo. The latter is an absolute no go.

Should be easy to have that checked by travis

committing things in sphinx-gallery format could be a new way. I’ll check whether this offers some convenience.

If you have any questions/issues regarding this approach, don’t hesitate to open an issue in the jupytext repo. The maintainer is extremely responsive and willing to help.

0reactions
falexwolfcommented, Dec 16, 2018

@flying-sheep and anyone interested: I started putting the notebooks on scanpy-tutorials: https://github.com/theislab/scanpy-tutorials and https://scanpy.readthedocs.io/en/latest/tutorials.html now links to the docs generated from scanpy-tutorials.

I’m doing it like this for now as it’s quite a bit less work than getting everything to run on readthedocs, there might indeed be problems with the runtime for building the docs and I think this updated solution isn’t so bad after all…

Opinions are welcome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use Jupyter notebooks in Sphinx - Read the Docs
Jupyter notebooks are a popular tool to describe computational narratives that mix code, prose, images, interactive components, and more.
Read more >
jupyter-notebook - Read the Docs
jupyter-notebook · Overview · Downloads · Search · Builds · Versions. Versions.
Read more >
Read the Docs ❤️ Jupyter Book
For example, we started promoting MyST in favor of our recommonmark back in April this year, and we wrote a guide on using...
Read more >
Usage - Jupyter Notebooks Gallery
This notebook is part of the nbsphinx documentation: https://nbsphinx.readthedocs.io/. Usage. Sphinx Setup. In the ...
Read more >
Read the Docs - Jupyter Book
Read the Docs builds Sphinx websites, and does not support Jupyter Book directly. However, you can convert your book to a Sphinx website...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found