Skip to content
Closed
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-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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: Build HTML
Expand Down
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-windows.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: Download "build" folder (cache)
Expand Down
16 changes: 8 additions & 8 deletions .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 All @@ -37,13 +37,13 @@ jobs:
- name: Display Pip Versions
shell: bash -l {0}
run: pip list
- name: Download "build" folder (cache)
uses: dawidd6/action-download-artifact@v11
with:
workflow: cache.yml
branch: main
name: build-cache
path: _build
# - name: Download "build" folder (cache)
# uses: dawidd6/action-download-artifact@v11
# with:
# workflow: cache.yml
# branch: main
# name: build-cache
# path: _build
# # Build Assets (Download Notebooks and PDF via LaTeX)
# - name: Build PDF from LaTeX
# shell: bash -l {0}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -23,7 +23,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: Download "build" folder (cache)
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
8 changes: 4 additions & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: quantecon
channels:
- default
dependencies:
- python=3.12
- anaconda=2024.10
- python=3.13
- anaconda=2025.12
- pip
- pip:
- jupyter-book==1.0.3
- quantecon-book-theme==0.8.2
- jupyter-book>=1.0.4post1,<2.0
- quantecon-book-theme==0.15.1
- sphinx-tojupyter==0.3.0
- sphinxext-rediraffe==0.2.7
- sphinx-reredirects==0.1.4
Expand Down
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
twitter: quantecon
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
Expand Down
Loading