Test sphinx-exercise PR #81: style_solution_after_exercise feature#670
Test sphinx-exercise PR #81: style_solution_after_exercise feature#670
Conversation
- Install sphinx-exercise from PR #81 branch - Enable style_solution_after_exercise = True in _config.yml - Testing new exercise/solution styling feature
- Change from: style_solution_after_exercise: true - Change to: exercise_style: "solution_follow_exercise" This makes the option name clearer and more descriptive. Default value should be '' (empty string).
|
📖 Netlify Preview Ready! Preview URL: https://pr-670--sunny-cactus-210e3e.netlify.app (971b892) |
|
📖 Netlify Preview Ready! Preview URL: https://pr-670--sunny-cactus-210e3e.netlify.app (6718337) |
cc: @jstac for 👀 |
|
|
📖 Netlify Preview Ready! Preview URL: https://pr-670--sunny-cactus-210e3e.netlify.app (389d962) |
- Install quantecon-book-theme from PR #322 - Now testing both sphinx-exercise PR #81 and theme PR #322 - Related: QuantEcon/quantecon-book-theme#322
|
📖 Netlify Preview Ready! Preview URL: https://pr-670--sunny-cactus-210e3e.netlify.app (c99714e) |
|
|
📖 Netlify Preview Ready! Preview URL: https://pr-670--sunny-cactus-210e3e.netlify.app (faea6e5) |
|
📖 Netlify Preview Ready! Preview URL: https://pr-670--sunny-cactus-210e3e.netlify.app (c261185) |
|
@jstac this has been updated and we have updates for
I left the "Show" on the RHS so that it is a common location for all collapsible blocks (such as hint and tip admonitions). I have a screenshot of the only situation where they are side-by-side. Is this consistency ok? or would you rather "Show solution" instead? |
|
Perfect, thanks @mmcky ! |
- Testing default sphinx-exercise behavior without custom styling - Will compare results with previous exercise_style configuration
|
|
📖 Netlify Preview Ready! Preview URL: https://pr-670--sunny-cactus-210e3e.netlify.app (a2d0d32) |
|



Purpose
This PR sets up a test environment to evaluate:
exercise_stylefeature from sphinx-exercise PR FEAT: Add solution_after_exercise style option executablebooks/sphinx-exercise#81Changes
Updated
environment.yml:sphinx-exercise @ git+https://github.com/executablebooks/sphinx-exercise.git@refs/pull/81/headquantecon-book-theme==0.10.1Updated
lectures/_config.yml: Enabled new configuration optionexercise_style: "solution_follow_exercise"Testing Scope
This lecture series contains 20+ exercises across multiple files that will be affected by the new exercise styling:
wealth_dynamics.mdodu.mdmle.mdols.mdlikelihood_ratio_process_2.mdfinite_markov.mduncertainty_traps.mdjv.mdcass_fiscal.mdlikelihood_ratio_process.mdprob_meaning.mdNext Steps
Related