-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rework locale_and_slug_from_path to support redirects where legacy-MindTouch or modern-Kuma locales appear as first path segment, but otherwise use request-detected or default locale * Widespread test tweaks to account for URL change * Uncomment URL route to enable mindtouch_to_kuma_redirect - no need to leave it commented out, since Apache won't send traffic to it until configs/htaccess is changed to exclude MindTouch anyway * Sample config/htaccess files both with and without MindTouch enabled * Tweak to mindtouch_to_kuma_redirect and mindtouch_namespace_redirect to account for new URL structure * Tweak to devmo_url() helper to rewrite old /en links to point to new Kuma URLs with current detected locale * Template tweak to include document locale and path in documents list * Unicode fixes and refactorings for document Last-Modified cache keys
- Loading branch information
Showing
10 changed files
with
279 additions
and
117 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.