Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Side by Side Diff: src/appengine/scripts/redirector.py

Issue 26922002: removing Web UI tutorials, updating remaining 4 to current release, + review pass (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: merge with master Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 from webapp2 import * 1 from webapp2 import *
2 2
3 NEWS_POSTS = { 3 NEWS_POSTS = {
4 '/2012/01/26/revisiting-equality.html' : '/2012/01/propo sed-changes-for-equality.html', 4 '/2012/01/26/revisiting-equality.html' : '/2012/01/propo sed-changes-for-equality.html',
5 '/2012/01/20/dart-language-spec-0.07.html' : '/2012/01/dart- language-spec-v007-now-available.html', 5 '/2012/01/20/dart-language-spec-0.07.html' : '/2012/01/dart- language-spec-v007-now-available.html',
6 '/2012/01/17/new-editor-build.html' : '/2012/01/new-d art-editor-build-3331.html', 6 '/2012/01/17/new-editor-build.html' : '/2012/01/new-d art-editor-build-3331.html',
7 '/2012/01/10/new-editor-build.html' : '/2012/01/new-d art-editor-build-3101.html', 7 '/2012/01/10/new-editor-build.html' : '/2012/01/new-d art-editor-build-3101.html',
8 '/2012/01/06/getting-started-with-dart.html' : '/2012/01/getti ng-started-with-dart-screencast.html', 8 '/2012/01/06/getting-started-with-dart.html' : '/2012/01/getti ng-started-with-dart-screencast.html',
9 '/2011/12/21/new-api-docs.html' : '/2011/12/new-a pi-docs-site.html', 9 '/2011/12/21/new-api-docs.html' : '/2011/12/new-a pi-docs-site.html',
10 '/2011/12/19/new-editor-build.html' : '/2011/12/new-d art-editor-build-2380.html', 10 '/2011/12/19/new-editor-build.html' : '/2011/12/new-d art-editor-build-2380.html',
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 Route('/articles/profiling/', RedirectHandler, 138 Route('/articles/profiling/', RedirectHandler,
139 defaults={'_uri': '/articles/benchmarking/'}), 139 defaults={'_uri': '/articles/benchmarking/'}),
140 Route('/docs/editor/getting-started/', RedirectHandler, 140 Route('/docs/editor/getting-started/', RedirectHandler,
141 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}), 141 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}),
142 Route('/docs/dart2js/', RedirectHandler, 142 Route('/docs/dart2js/', RedirectHandler,
143 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}), 143 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}),
144 Route('/docs/standalone-dart-vm/', RedirectHandler, 144 Route('/docs/standalone-dart-vm/', RedirectHandler,
145 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart-vm.h tml'}), 145 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart-vm.h tml'}),
146 Route('/codelab', RedirectHandler, 146 Route('/codelab', RedirectHandler,
147 defaults={'_uri': '/codelabs/web-ui-writer/'}), 147 defaults={'_uri': '/codelabs/web-ui-writer/'}),
148 Route('/docs/tutorials/web-ui/', RedirectHandler,
149 defaults={'_uri': '/docs/tutorials/polymer-intro/'}),
150 Route('/docs/tutorials/templates/', RedirectHandler,
151 defaults={'_uri': '/docs/tutorials/polymer-intro/'}),
152 Route('/docs/tutorials/custom-elements/', RedirectHandler,
153 defaults={'_uri': '/docs/tutorials/polymer-intro/'}),
148 Route('/codelabs/web-ui-writer/codelab.pdf', RedirectHandler, 154 Route('/codelabs/web-ui-writer/codelab.pdf', RedirectHandler,
149 defaults={'_uri': '/codelabs/web-ui-writer/'}), 155 defaults={'_uri': '/codelabs/web-ui-writer/'}),
150 Route('/tools/analyzer', RedirectHandler, 156 Route('/tools/analyzer', RedirectHandler,
151 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart_anal yzer.html'}), 157 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart_anal yzer.html'}),
152 Route('/atom.xml', RedirectHandler, 158 Route('/atom.xml', RedirectHandler,
153 defaults={'_uri': 'http://news.dartlang.org/feeds/posts/default'}), 159 defaults={'_uri': 'http://news.dartlang.org/feeds/posts/default'}),
154 Route('/+lexicalscope', RedirectHandler, 160 Route('/+lexicalscope', RedirectHandler,
155 defaults={'_uri': '/docs/dart-up-and-running/contents/ch02.html#ch02-lexic al-scope'}), 161 defaults={'_uri': '/docs/dart-up-and-running/contents/ch02.html#ch02-lexic al-scope'}),
156 Route('/+pub', RedirectHandler, 162 Route('/+pub', RedirectHandler,
157 defaults={'_uri': 'https://pub.dartlang.org/'}), 163 defaults={'_uri': 'https://pub.dartlang.org/'}),
158 Route('/+dart2js', RedirectHandler, 164 Route('/+dart2js', RedirectHandler,
159 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}), 165 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}),
160 Route('/+isolates', RedirectHandler, 166 Route('/+isolates', RedirectHandler,
161 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}), 167 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}),
162 Route('/+', RedirectHandler, 168 Route('/+', RedirectHandler,
163 defaults={'_uri': 'https://google.com/+dartlang'}), 169 defaults={'_uri': 'https://google.com/+dartlang'}),
164 Route('/mailing-list', RedirectHandler, 170 Route('/mailing-list', RedirectHandler,
165 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}), 171 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}),
166 Route('/<path:[^.]*[^/]$>', RedirectHandler, 172 Route('/<path:[^.]*[^/]$>', RedirectHandler,
167 defaults={'_uri': trailing_slash})], 173 defaults={'_uri': trailing_slash})],
168 debug=True) 174 debug=True)
OLDNEW
« no previous file with comments | « src/appengine/app.yaml ('k') | src/diagrams/tutorials/custom-elements/converter-data-binding.graffle/data.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698