maint: remove developer instruction pages, update contribute links to project repos#201
Conversation
Developer instructions for QuantEcon.py and QuantEcon.jl have been migrated to the respective project repositories (see QuantEcon.py#740). This removes the now-redundant pages from the website and updates the 'Contribute' buttons to link directly to the CONTRIBUTING.md in each project repo. Deleted pages (all had menu_item: false, none in nav): - pages/python-developers.md (/python-developers/) - pages/julia-developers.md (/julia-developers/) - pages/developer-resources.md (/developer-resources/) - pages/wiki.md (/wiki/) - pages/wiki-py-conda-dev-env.md - pages/wiki-py-docstrings.md - pages/wiki-py-unit-testing.md Updated inbound links: - quantecon-py.md: Contribute button → QuantEcon.py CONTRIBUTING.md - quantecon-jl.md: Contribute button → QuantEcon.jl CONTRIBUTING.md Closes #126
✅ Deploy Preview for grand-swan-ca5201 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR continues the website cleanup by removing developer-instruction/wiki pages that have been migrated to the QuantEcon.py / QuantEcon.jl project repositories, and by repointing the “Contribute” calls-to-action on the library pages to the projects’ CONTRIBUTING.md.
Changes:
- Removes 7 now-redundant internal developer instruction / wiki pages from
pages/. - Updates the “Contribute” button links on the QuantEcon.py and QuantEcon.jl library pages to point to the corresponding GitHub
CONTRIBUTING.md.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pages/wiki.md | Removes the site “Wiki” index page (developer-only content). |
| pages/wiki-py-unit-testing.md | Removes Python unit testing instructions (migrated to project repo). |
| pages/wiki-py-docstrings.md | Removes Python docstring/documentation guidance (migrated to project repo). |
| pages/wiki-py-conda-dev-env.md | Removes Conda dev environment setup instructions (migrated to project repo). |
| pages/python-developers.md | Removes QuantEcon.py contribution instructions page (now redundant). |
| pages/julia-developers.md | Removes QuantEcon.jl contribution instructions page (now redundant). |
| pages/developer-resources.md | Removes developer resources hub page (now redundant). |
| pages/quantecon-py.md | Updates “Contribute” button to link directly to QuantEcon.py CONTRIBUTING.md on GitHub. |
| pages/quantecon-jl.md | Updates “Contribute” button to link directly to QuantEcon.jl CONTRIBUTING.md on GitHub. |
The wasm library page still pointed at the deleted /python-developers page. Point it at QuantEcon.py's CONTRIBUTING.md (the wasm repo has no CONTRIBUTING.md of its own), matching the other library pages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Neither QuantEcon.py nor QuantEcon.jl has a root CONTRIBUTING.md, so the previous GitHub blob links 404'd. Link the rendered documentation pages instead: - QuantEcon.py / QuantEcon.py-wasm -> quanteconpy.readthedocs.io contributing page - QuantEcon.jl -> QuantEcon.jl docs contributing page Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Review before merge caught that neither QuantEcon.py nor QuantEcon.jl actually has a root CONTRIBUTING.md — the Contribute links added here were 404s. Fixed in b487292 by linking the rendered contributing docs instead: quanteconpy.readthedocs.io/en/latest/contributing.html (py + wasm) and quantecon.github.io/QuantEcon.jl/latest/man/contributing.html (jl). Both verified 200. |
* 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 <noreply@anthropic.com> * 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 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Summary
Completes the cleanup step from #126. Developer instructions for
QuantEcon.pyandQuantEcon.jlwere already migrated to the respective project repositories (QuantEcon.py#740). This PR removes the now-redundant pages from the website.Deleted pages
All 7 pages had
menu_item: falseand were not in the site navigation:pages/python-developers.md/python-developers/pages/julia-developers.md/julia-developers/pages/developer-resources.md/developer-resources/pages/wiki.md/wiki/pages/wiki-py-conda-dev-env.md/wiki-py-conda-dev-env/pages/wiki-py-docstrings.md/wiki-py-docstrings/pages/wiki-py-unit-testing.md/wiki-py-unit-testing/Updated links
The "Contribute" buttons on the code library pages previously linked to the now-deleted internal pages. They now point at the rendered contributing guides in each project's documentation (neither repo has a root
CONTRIBUTING.md):pages/quantecon-py.md,pages/quantecon-py-wasm.md→https://quanteconpy.readthedocs.io/en/latest/contributing.htmlpages/quantecon-jl.md→https://quantecon.github.io/QuantEcon.jl/latest/man/contributing.htmlVerified
bundle exec jekyll buildpasses cleanly with no broken referencesCloses #126