Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,16 @@ updates:
prefix: ⬆️
schedule:
interval: weekly

- package-ecosystem: "conda"
directory: "/"
commit-message:
prefix: ⬆️
schedule:
interval: weekly
ignore:
- dependency-name: "jupyter-book"
versions: [">=2.0"]
- dependency-name: "python"
# Python version should be constrained by the anaconda distribution version
versions: [">0"]
2 changes: 1 addition & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.12"
python-version: "3.13"
environment-file: environment.yml
activate-environment: quantecon
- name: graphviz Support # TODO: required?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.12"
python-version: "3.13"
environment-file: environment-cn.yml
activate-environment: quantecon
- name: Graphics Support
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.12"
python-version: "3.13"
environment-file: environment.yml
activate-environment: quantecon
- name: Graphics Support #TODO: Review if graphviz is needed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.12"
python-version: "3.13"
environment-file: environment.yml
activate-environment: quantecon
- name: Install latex dependencies
Expand Down
21 changes: 10 additions & 11 deletions environment-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ channels:
- default
- conda-forge
dependencies:
- python=3.12
- anaconda=2024.10
- python=3.13
- anaconda=2025.12
- pip
- pip:
- jupyter-book==1.0.3
- jupyter-book==1.0.4post1
- quantecon-book-theme==0.20.2
- sphinx-tojupyter==0.3.0
- sphinxext-rediraffe==0.2.7
- sphinx_reredirects==0.1.4
- sphinx-exercise==1.0.1
- sphinx-proof==0.2.0
- ghp-import==1.1.0
- sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5
- sphinx-togglebutton==0.3.2
- sphinx-tojupyter==0.6.0
- sphinxext-rediraffe==0.3.0
- sphinx_reredirects==1.1.0
- sphinx-exercise==1.2.1
- sphinx-proof==0.4.0
- sphinxcontrib-youtube==1.5.0
- sphinx-togglebutton==0.4.5
- --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
21 changes: 10 additions & 11 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ name: quantecon
channels:
- default
Comment thread
mmcky marked this conversation as resolved.
dependencies:
- python=3.12
- anaconda=2024.10
- python=3.13
- anaconda=2025.12
- pip
- pip:
- jupyter-book==1.0.3
- jupyter-book==1.0.4post1
- quantecon-book-theme==0.20.2
- sphinx-tojupyter==0.3.0
- sphinxext-rediraffe==0.2.7
- sphinx-reredirects==0.1.4
- sphinx-exercise==1.0.1
- sphinx-proof==0.2.0
- ghp-import==1.1.0
- sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5
- sphinx-togglebutton==0.3.2
- sphinx-tojupyter==0.6.0
- sphinxext-rediraffe==0.3.0
- sphinx-reredirects==1.1.0
- sphinx-exercise==1.2.1
- sphinx-proof==0.4.0
- sphinxcontrib-youtube==1.5.0
- sphinx-togglebutton==0.4.5

2 changes: 2 additions & 0 deletions lectures/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ sphinx:
nb_render_image_options:
width: 80%
nb_code_prompt_show: "Show {type}"
nb_merge_streams: true
suppress_warnings: [mystnb.unknown_mime_type, myst.domains]
# -------------
html_js_files:
Expand All @@ -65,6 +66,7 @@ sphinx:
header_organisation: QuantEcon
repository_url: https://github.com/QuantEcon/lecture-intro.zh-cn
nb_repository_url: https://github.com/QuantEcon/lecture-intro.zh-cn.notebooks
path_to_docs: lectures
download_nb_path: https://quantecon.github.io/lecture-intro.zh-cn
languages:
- code: en
Expand Down
Loading