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

Suggestion: Move labs to Jupyter Book format #9

Open
rickecon opened this issue Aug 23, 2020 · 1 comment
Open

Suggestion: Move labs to Jupyter Book format #9

rickecon opened this issue Aug 23, 2020 · 1 comment
Labels
enhancement Ideas for new or improved exercises, demos, and explanations

Comments

@rickecon
Copy link

Suggestion for @jhumpherys @tylerjarvis. I wanted to make a suggestion for the labs that would really give them more legs and accessibility. The Jupyter people have now come up with a format (Jupyter Book) that really marries the PDF concept with the html concept with the executable code concept in a way that can be version controlled. Here is the workflow.

  1. Write content as markdown file (.md) along with some Jupyter configuration files and version control those in a GitHub repository.
  2. Jupyter book sofware allows you to compile an html version of the book locally (for testing)
  3. Set up GitHub Action on book source repository to push changes to a GitHub Pages site of the book upon commits to master.
  4. The html site for the Jupyter Book labs would be very accessible, LaTeX- and BibTex-like links and math rendering, and with a click of a button, the page will open as a local Jupyter notebook or Jupyter Lab hosted notebook or a CoLab hosted notebook with executable code and with a specified code environment.

I think this is the sweet spot. We've moved all the documentation for a number of our open source projects over to Jupyter Books. The two following examples are still under development, but they are far enough along to show a lot of the functionality of the medium.

  • The Tax-Calculator project's documentation is shown in the associated GitHub page in the upper-right corner. All the source code for that documentation is version controlled in the Tax-Calculator/docs/ folder. Whenever a pull-request is merged that has commits to the files in that folder, a GitHub Action deploys the updated version of the documentation to the GitHub page.
  • Another example is the OG-USA model. The Jupyter Book documentation is at the GitHub page associated with the repo, and the source for the documentation is in the OG-USA/docs/ folder.
@jhumpherys
Copy link
Member

jhumpherys commented Aug 23, 2020 via email

@shanemcq18 shanemcq18 added the enhancement Ideas for new or improved exercises, demos, and explanations label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for new or improved exercises, demos, and explanations
Projects
None yet
Development

No branches or pull requests

3 participants