Repository navigation
docs: send the old Read the Docs site to commit-check.com - #706
Closed
shenxianpeng wants to merge 2 commits into
Closed
shenxianpeng wants to merge 2 commits into
shenxianpeng wants to merge 2 commits into
Conversation
commit-check.readthedocs.io still serves the v1 documentation, which tells readers to write .commit-check.yml, and search results still lead there. Its next build now publishes only the "moved" page commit-check.github.io already serves, as index.html and as the 404 page for every old URL.
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 50 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Before: https://commit-check.readthedocs.io/en/latest/ still serves the v1 documentation from its last build in February 2025. It tells readers to create
.commit-check.yml, a format 2.x no longer reads, and web searches for commit-check list it next to, or ahead of, commit-check.com. The Read the Docs project still follows this repository'smain, but the repository has had no Read the Docs config ordocs/folder since the site moved.After: The next build of
latestpublishes one page, the same "This site has moved" page that commit-check.github.io already serves (byte for byte), asindex.htmland as404.html. Read the Docs serves404.htmlfor every path that no longer exists, so every old URL,/en/latest/configuration.htmlincluded, lands on a page that redirects to https://commit-check.com/ and names it as canonical.How: a 39-line
.readthedocs.yamlwhosebuild.commandswrites the page into$READTHEDOCS_OUTPUT/html; no Sphinx, no dependencies, nodocs/folder. Checked locally by running the command withREADTHEDOCS_OUTPUTset: it exits 0 and writes both files.After merging: if no build of
latestshows up on the Read the Docs project within a few minutes, start one by hand (project page, Builds, Build version: latest). The project has recorded no build since February 2025, so pushes may not be triggering builds.