Consider a hide-cell option
See original GitHub issueIn a recent thread, the following question came up:
Is it possible to test documentation made with jupyter-sphinx?
I realized that an easy way to do this would be to insert jupyter-execute
cells that ran assert statements and typical testing stuff. However, in that case you wouldn’t want the actual code to show up in the final docs. Since there is a hide-input
and hide-output
option, what about a hide-cell
option? Alternatively, if both hide-input
and hide-output
are given, this could trigger the behavior that nothing makes it into the Sphinx AST (and forgive me if this is already what happens!)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Display or hide cell values - Microsoft Support
Display or hide cell values · Select the cells. · On the Format menu, click Cells, and then click the Number tab. ·...
Read more >Hiding Cell Contents or Formulas in Excel - Office Watch
Choose the Hidden option. As the text note on the tab says, marking a cell as 'Hidden' doesn't hide it. 'Hidden' means 'hiding...
Read more >Hiding code cells in published notebook - Kaggle
How to hide all the code cells in the published notebook? I know I can hide code cells individually by: select code cell...
Read more >Hide cell input in interactive window by default #3727 - GitHub
If the input is hidden by the button, this hidden state is retained or auto invoked for all future cells in the session;...
Read more >Hide or remove content - Jupyter Book
In this case, you have two options: Hiding content provides a button that lets readers reveal the content. Removing content prevents it from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And we can always extend this if there’s more demand.
Makes sense to me - I am a big fan of documenting first, and then only adding new tech if enough people ask for it