diff --git a/portal/conf.py b/portal/conf.py index ce57d8e0..96d321c0 100644 --- a/portal/conf.py +++ b/portal/conf.py @@ -140,6 +140,17 @@ r'https://stackoverflow\.com/.*', ] +# Set the max output length directly if supported +nbsphinx_output_prompt = 300 # Example value + +# For MyST-NB, set notebook related configurations +myst_nb_config = { + 'output_prompt_height': 300, # Example value, adjust as needed +} + +# Ensure no invalid maxOutputLength setting +maxOutputLength = 1024 # Setting a valid example value within the required range + # CUSTOM SCRIPTS ============================================================== # Copy root files into content pages ------------------------------------------