Skip to content

Add nb_merge_streams config to coalesce stderr#121

Merged
clarksmr merged 1 commit into
cs3110:mainfrom
penelopeysm:main
Mar 22, 2023
Merged

Add nb_merge_streams config to coalesce stderr#121
clarksmr merged 1 commit into
cs3110:mainfrom
penelopeysm:main

Conversation

@penelopeysm
Copy link
Copy Markdown
Contributor

@penelopeysm penelopeysm commented Feb 20, 2023

Hello! This is a small fix for the issue discussed in https://cs3110.github.io/textbook/chapters/data/lists.html about cell output being split into multiple output blocks. The upstream issue was fixed: jupyter-book/jupyter-book#973, executablebooks/MyST-NB#364.

Before

Before HTML

After

After HTML

@clarksmr
Copy link
Copy Markdown
Contributor

Thank you! I will merge this now, but it won't have an effect on the deployed textbook until we get around to #125 sometime in the future.

@clarksmr clarksmr closed this Mar 22, 2023
@clarksmr clarksmr reopened this Mar 22, 2023
@clarksmr clarksmr merged commit 1ec07ad into cs3110:main Mar 22, 2023
@clarksmr
Copy link
Copy Markdown
Contributor

clarksmr commented Mar 22, 2023

Ugh actually since merging it gets rid of the comment that explains the bad output, I'll have to revert the merge.

@muzimuzhi
Copy link
Copy Markdown
Contributor

Ugh actually since merging it gets rid of the comment that explains the bad output, I'll have to revert the merge.

I'm confused. Adding nb_merge_streams: true solves the split stderr cell output, then the comment that explains the bad output is useless hence can be removed. Did I miss something?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coalesce multiple stdout/stderr Notebook outputs into single blocks

3 participants