ehmatthes / ehmatthes/intro_programming

Only place show/hide all output buttons on notebooks with output blocks

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
400
Forks
191
PR merge metrics
No merged PRs in 30d

Description

Right now this is done manually, in build_html_site.py. But this could be automated, either in build_html_site.py or in a template, by checking whether the template has any output blocks. Or, this could be a setting in the notebook metadata.

from build_html.py:

# This is manually determining which notebooks get show/hide all output buttons.
# Might be better to scrape the files, look for output cells, and only place
# show/hide all buttons on notebooks with output cells. Can this be done
# in the template?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.