Skip to content

Commit 42577c5

Browse files
mmckyclaude
andcommitted
Point the site URLs at the GitHub Pages address actually served
baseurl claimed https://python-programming-fa.quantecon.org/, a host that does not resolve, so every page emitted a canonical and og:url to a dead address while the site serves from github.io. The two tojupyter paths carried the same dead host. This edition is hosted at its GitHub Pages URL while the broader URL structure is decided, so the config now says so. Also drops nb_repository_url, which pointed at lecture-python-programming.fa.notebooks — a repository that does not exist. Mirrors the comment the fr edition already uses; the theme skips notebook-launch links when the option is unset. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 7afb509 commit 42577c5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

lectures/_config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ execute:
88
timeout: 600 # 10 minutes
99

1010
html:
11-
baseurl: https://python-programming-fa.quantecon.org/
11+
baseurl: https://quantecon.github.io/lecture-python-programming.fa/
1212

1313
latex:
1414
latex_documents:
@@ -55,7 +55,8 @@ sphinx:
5555
header_organisation_url: https://quantecon.org
5656
header_organisation: QuantEcon
5757
repository_url: https://github.com/QuantEcon/lecture-python-programming.fa
58-
nb_repository_url: https://github.com/QuantEcon/lecture-python-programming.fa.notebooks
58+
# nb_repository_url omitted deliberately: no notebooks repo exists for this
59+
# edition yet, and the theme skips notebook-launch links when it is unset
5960
path_to_docs: lectures
6061
twitter: quantecon
6162
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
@@ -74,8 +75,8 @@ sphinx:
7475
index_toc.md: intro.md
7576
tojupyter_static_file_path: ["source/_static", "_static"]
7677
tojupyter_target_html: true
77-
tojupyter_urlpath: "https://python-programming-fa.quantecon.org/"
78-
tojupyter_image_urlpath: "https://python-programming-fa.quantecon.org/_static/"
78+
tojupyter_urlpath: "https://quantecon.github.io/lecture-python-programming.fa/"
79+
tojupyter_image_urlpath: "https://quantecon.github.io/lecture-python-programming.fa/_static/"
7980
tojupyter_lang_synonyms: ["ipython", "ipython3", "python"]
8081
tojupyter_kernels:
8182
python3:

0 commit comments

Comments
 (0)