From 9d8ca0bd237adb22b17dbe388cf70fd1ff68a3cf Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Wed, 10 Jun 2026 11:40:23 +1000 Subject: [PATCH 1/2] feat: redirect removed developer pages instead of 404ing The 7 developer instruction pages removed in #201 had been live for years, so their URLs are in search indexes and linked from old forum posts and project docs. Restore each URL as a redirect_to stub pointing at where the content lives now: - /python-developers/, /wiki/ -> QuantEcon.py rendered contributing guide - /wiki-py-conda-dev-env|docstrings|unit-testing/ -> matching section anchors on that guide - /julia-developers/ -> QuantEcon.jl rendered contributing guide - /developer-resources/ -> /code/ (the site's libraries hub) Co-Authored-By: Claude Fable 5 --- pages/developer-resources.md | 6 ++++++ pages/julia-developers.md | 6 ++++++ pages/python-developers.md | 6 ++++++ pages/wiki-py-conda-dev-env.md | 6 ++++++ pages/wiki-py-docstrings.md | 6 ++++++ pages/wiki-py-unit-testing.md | 6 ++++++ pages/wiki.md | 6 ++++++ 7 files changed, 42 insertions(+) create mode 100644 pages/developer-resources.md create mode 100644 pages/julia-developers.md create mode 100644 pages/python-developers.md create mode 100644 pages/wiki-py-conda-dev-env.md create mode 100644 pages/wiki-py-docstrings.md create mode 100644 pages/wiki-py-unit-testing.md create mode 100644 pages/wiki.md diff --git a/pages/developer-resources.md b/pages/developer-resources.md new file mode 100644 index 0000000..6a54c96 --- /dev/null +++ b/pages/developer-resources.md @@ -0,0 +1,6 @@ +--- +title: Developer Resources +permalink: /developer-resources/ +redirect_to: https://quantecon.org/code/ +menu_item: false +--- diff --git a/pages/julia-developers.md b/pages/julia-developers.md new file mode 100644 index 0000000..0f54178 --- /dev/null +++ b/pages/julia-developers.md @@ -0,0 +1,6 @@ +--- +title: Contribute to QuantEcon.jl +permalink: /julia-developers/ +redirect_to: https://quantecon.github.io/QuantEcon.jl/latest/man/contributing.html +menu_item: false +--- diff --git a/pages/python-developers.md b/pages/python-developers.md new file mode 100644 index 0000000..d93e51c --- /dev/null +++ b/pages/python-developers.md @@ -0,0 +1,6 @@ +--- +title: Contribute to QuantEcon.py +permalink: /python-developers/ +redirect_to: https://quanteconpy.readthedocs.io/en/latest/contributing.html +menu_item: false +--- diff --git a/pages/wiki-py-conda-dev-env.md b/pages/wiki-py-conda-dev-env.md new file mode 100644 index 0000000..6d76328 --- /dev/null +++ b/pages/wiki-py-conda-dev-env.md @@ -0,0 +1,6 @@ +--- +title: Creating a Conda development environment +permalink: /wiki-py-conda-dev-env/ +redirect_to: https://quanteconpy.readthedocs.io/en/latest/contributing.html#set-up-a-conda-development-environment +menu_item: false +--- diff --git a/pages/wiki-py-docstrings.md b/pages/wiki-py-docstrings.md new file mode 100644 index 0000000..2562684 --- /dev/null +++ b/pages/wiki-py-docstrings.md @@ -0,0 +1,6 @@ +--- +title: Docstrings and Documentation +permalink: /wiki-py-docstrings/ +redirect_to: https://quanteconpy.readthedocs.io/en/latest/contributing.html#write-documentation +menu_item: false +--- diff --git a/pages/wiki-py-unit-testing.md b/pages/wiki-py-unit-testing.md new file mode 100644 index 0000000..8156b81 --- /dev/null +++ b/pages/wiki-py-unit-testing.md @@ -0,0 +1,6 @@ +--- +title: Unit Testing in QuantEcon +permalink: /wiki-py-unit-testing/ +redirect_to: https://quanteconpy.readthedocs.io/en/latest/contributing.html#write-tests +menu_item: false +--- diff --git a/pages/wiki.md b/pages/wiki.md new file mode 100644 index 0000000..e642c1e --- /dev/null +++ b/pages/wiki.md @@ -0,0 +1,6 @@ +--- +title: Developer Wiki +permalink: /wiki/ +redirect_to: https://quanteconpy.readthedocs.io/en/latest/contributing.html +menu_item: false +--- From 378195a53d3b754337c4addb2e4f220784d0a582 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Wed, 10 Jun 2026 11:47:48 +1000 Subject: [PATCH 2/2] fix: use relative redirect_to for internal /code/ target jekyll-redirect-from absolutizes it via site.url at build time, so the emitted HTML is unchanged; the source now matches the PR description's redirect map. Co-Authored-By: Claude Fable 5 --- pages/developer-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/developer-resources.md b/pages/developer-resources.md index 6a54c96..a9a973c 100644 --- a/pages/developer-resources.md +++ b/pages/developer-resources.md @@ -1,6 +1,6 @@ --- title: Developer Resources permalink: /developer-resources/ -redirect_to: https://quantecon.org/code/ +redirect_to: /code/ menu_item: false ---