Skip to content
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

Tracking: Numpy Tutorials #1270

Open
4 of 16 tasks
rowanc1 opened this issue Jun 5, 2024 · 2 comments
Open
4 of 16 tasks

Tracking: Numpy Tutorials #1270

rowanc1 opened this issue Jun 5, 2024 · 2 comments
Assignees

Comments

@rowanc1
Copy link
Collaborator

rowanc1 commented Jun 5, 2024

There is interest from the numpy-tutorials project/team to investigate the mystmd CLI as an alternative for their tutorials. I think that this is an excellent additional usecase to assess any gaps that we have in the JupyterBook experience (#1000, #1106). In testing by @melissawm (here) The main experience works well, maintains execution, and generally has most features (I think?!) they are looking for.

I have done an assessment from my side that tries to capture the required improvements from MyST:

Issues

Missing Functionality

UI Assessment

I think staying closer to the pydata-theme here is advantageous, with the logo/icons/search in the left nav-pane and the launch buttons at the top. In addition we could have a top nav-bar that, for example, is shared between various independent sites.

UI Opportunities

  • Adding a source to a figure/image directive (to capture attribution/licensing)

Compatibility Opportunities

  • Right now there are some advantages to keeping links to numpy/matplotlib docs as markdown links, we should also be able to recognize these links and upgrade them to intersphinx (e.g. to know if the page/ID continues to exist, which isn't checked in a link check as the hash is dropped). In addition to that, we could introduce a service that parses the HTML of those pages to give a similar hover-preview to that content for any myst site or wikipedia, that is a bit more of an ambitious target, but I think would make a unique, compelling and incremental upgrade path.

cc @fperez, @melissawm, @rossbar

@rowanc1 rowanc1 self-assigned this Jun 5, 2024
@rowanc1
Copy link
Collaborator Author

rowanc1 commented Jun 5, 2024

It is always nice to see some of the features work out of the box on new sites. For example, wiki links and being able to add abbreviations really easily (hopefully making the content more accessible for all readers!):

numpy-tutorials.mp4

@melissawm adding the following to the project config is how to get abbreviations showing up throughout the entire book:

project:
  abbreviations:
    LSTM: Long Short Term Memory network
    IMDB: Internet Movie Database
    AI: Artificial intelligence

@agoose77
Copy link
Contributor

agoose77 commented Jun 5, 2024

This initiative is so exciting @rowanc1 @melissawm! It's so encouraging that much of the work is shared with the Jupyter Book efforts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants