question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider a hide-cell option

See original GitHub issue

In 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:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
akhmerovcommented, Mar 3, 2020

And we can always extend this if there’s more demand.

0reactions
choldgrafcommented, Mar 3, 2020

Makes sense to me - I am a big fan of documenting first, and then only adding new tech if enough people ask for it

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found