Skip to content

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Dec 19, 2025

Summary

Updates _config.yml and environment.yml to align with the latest quantecon-book-theme (0.15.1), cross-referenced with lecture-python.myst.

Changes

environment.yml

  • quantecon-book-theme==0.15.1 - Upgrade from 0.15.0 to include fix for path_to_docs stripping in notebook launch URLs

_config.yml

  • path_to_docs: lectures - Added to html_theme_options for proper repository link construction and correct Colab/JupyterHub/Binder URLs
  • nb_merge_streams: true - Merges stdout/stderr in notebook outputs
  • nb_mime_priority_overrides - Configures MIME type priorities for HTML, Jupyter, LaTeX, and linkcheck outputs (important for Jupyter widget support)

Reference

Notes

  • Removed exercise_style config as it's not supported by sphinx-exercise 1.0.1 (used in this repo)

- Add path_to_docs option for proper repository links
- Add nb_merge_streams for merged stdout/stderr output
- Add nb_mime_priority_overrides for proper notebook widget rendering
- Add exercise_style setting for sphinx-exercise
- Reorganize comments for sphinx-proof and sphinx-exercise sections
@netlify
Copy link

netlify bot commented Dec 19, 2025

Deploy Preview for taupe-gaufre-c4e660 ready!

Name Link
🔨 Latest commit ffc8b59
🔍 Latest deploy log https://app.netlify.com/projects/taupe-gaufre-c4e660/deploys/6944f483186f270008d04da7
😎 Deploy Preview https://deploy-preview-678--taupe-gaufre-c4e660.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Includes fix for path_to_docs stripping in notebook launch URLs
- Colab/JupyterHub/Binder buttons now generate correct URLs for flat notebook repos
@github-actions
Copy link

github-actions bot commented Dec 19, 2025

@github-actions github-actions bot temporarily deployed to pull request December 19, 2025 06:25 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 19, 2025 06:25 Inactive
@mmcky mmcky force-pushed the update-theme-config branch from 9ae872e to ffc8b59 Compare December 19, 2025 06:45
@github-actions github-actions bot temporarily deployed to pull request December 19, 2025 06:53 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 19, 2025 06:53 Inactive
@mmcky mmcky merged commit f7b2f8f into main Dec 19, 2025
9 checks passed
@mmcky mmcky deleted the update-theme-config branch December 19, 2025 06:56
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.

2 participants