Skip to content

Commit a574d1f

Browse files
committed
try to set maxoutputlength
1 parent 44e4d7e commit a574d1f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

portal/conf.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,18 @@
140140
r'https://stackoverflow\.com/.*',
141141
]
142142

143+
# Optionally set the max output length directly if supported
144+
# If nbsphinx or myst_nb does not have this, refer to their documentation for correct usage
145+
nbsphinx_output_prompt = 300 # Example value
146+
147+
# For MyST-NB, you can set notebook related configurations
148+
myst_nb_config = {
149+
'output_prompt_height': 300, # Example value, adjust as needed
150+
}
151+
152+
# Ensure no invalid maxOutputLength setting
153+
maxOutputLength = 1024 # Setting a valid example value within the required range
154+
143155
# CUSTOM SCRIPTS ==============================================================
144156

145157
# Copy root files into content pages ------------------------------------------

0 commit comments

Comments
 (0)