DOC: Change the position of the prompt cell for the JupyterLite REPL?
Issue with current documentation:
Currently the embeded REPL on the https://numpy.org landing page shows a REPL with the prompt cell at the bottom, which can be confusing to some users:
Idea or request for content:
As a quick heads-up, JupyterLite 0.6.0 (currently in beta) will allow changing the position of the prompt cell: https://jupyterlite.readthedocs.io/en/latest/changelog.html#enhanced-repl-options
Just wanted to bring this up in case folks would be interested in tweaking a couple of settings for the current REPL.
cc @agriyakhetarpal who opened a similar issue on another repo (also in case a common single deployment for scientific Python is still something to consider).
Thanks for opening this, @jtpio! Ah, right, we were discussing this in the pandas repo at https://github.com/pandas-dev/pandas/pull/60758#issuecomment-2658494365 as the REPL felt a tad awkwardly sized on the webpage if its width was left unrestricted. I think it makes sense to use these new options indeed, but I'll note the REPL suffers from the splitPanel bug we discovered in https://github.com/jupyterlite/jupyterlite-sphinx/pull/290, so it would be nice if we could figure out a fix – I didn't spend a lot of time there after my initial investigation :D
Also, maybe we should discuss this in the https://github.com/numpy/numpy.org repo? 😅 If yes, it would be great if a maintainer here could transfer this issue there.
Also, maybe we should discuss this in the https://github.com/numpy/numpy.org repo? 😅 If yes, it would be great if a maintainer here could transfer this issue there.
Ah right, happy to close and reopen there if needed, but it can be transferred that would likely be easier 👍
This sounds like a good idea to me, thanks for working on this in JupyterLite!
@InessaPawson I think you transferred this back to the wrong repo by mistake - it belongs on the numpy.org repo. Transferred once more.
@rgommers Yes, of course! My apologies for this mishap. Clearly, I need to double-check before hitting that "Transfer issue" button again, especially during late-night sessions.
Okay, I've opened a PR about this at gh-872 – purely to garner feedback, which would be welcome. PTAL at the PR description for more context. Thanks!