-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create docs #434
Create docs #434
Conversation
<!-- | ||
## Sagemath CoCalc | ||
TODO | ||
--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyone have an idea if/how to get ipympl working in sagemath/cocalc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that there's less noise here: @williamstein I couldn't find an obvious way to do this after some brief searching and the one attempt I had didn't work. Would love to include instructions though
We're pretty close actually :) I'd really like to have a simple replite console at the beginning of the docs. But this requires widgets to work in JupyterLab console jupyter-widgets/ipywidgets#3004 |
I'm making some experiments on jupyterlite-sphinx: https://github.com/martinRenou/jupyterlite-sphinx |
bump @tacaswell |
I'm sorry, I wrote message here (and even checked it off my to-do list) but apparently never hit "send" 🐑 🤦🏻 I think be best path to hosting is to use something like https://github.com/matplotlib/mpl-gui/blob/main/.github/workflows/docs.yml to put the built docs on github. We just this weekend moved to self-hosting the docs on digital ocean (still behind cloudflare as a CDN). We will need to add a web-hook to notify that system when new docs are pushed. attn @QuLogic |
It would be great to add a section on how to make it work on colab: from google.colab import output
output.enable_custom_widget_manager() |
I've added this. I don't suppose there's an easy way to see them rendered on a PR?
@QuLogic any chance of this (if not already done?) I don't think there's much left to do here |
Ok. I think I'm happy with this now. Can someone give a read over to review? |
It will only make sense to do this after you have a branch with built docs in it. |
Absent any objections I'm going to merge this. we can always iterate more later |
@QuLogic we now have a |
@QuLogic bump - this will eventually end up at https://matplotlib.org/ipympl correct? |
matplotlib/matplotlib.org#15 is step 1 |
I have the power to add the webhook, but I am unsure what the secret should be. |
The secret is just a random set of characters. |
Scattered over a few issues there has been mention of the need for a documentation page. This is a first pass at creating one. I think there are lots of great things we can add (e.g. css tricks #411 (comment)) but getting something out there is more important than getting everything in there. I think it's important for users to be able to go to a website to get install instructions rather than a github repo as I suspect that this is lends a sense of stability and officiallness to the project. It also makes it easier to have much more robust sections on installing and contributing.
I think the big question I have is probably primarily for @tacaswell (and also @martinRenou ) which is where should this be hosted? I know how to set things up on readthedocs and so can can easily do that. But this is also a matplotlib subproject (unclear how official that makes things) and does that mean that this shoudl be hosted on matplotlib.org/ipympl? I think that would be my preferred URL if possible.
Other thoughts: