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

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

Issue 21153003: remove codelab.pdf file, add redirect; move graffle files to be under src/diagrams (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 7 years, 4 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
« no previous file with comments | « src/appengine/app.yaml ('k') | src/articles/diagrams/numeric-computation/boxunbox.graffle » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 Route('/articles/profiling/', RedirectHandler, 136 Route('/articles/profiling/', RedirectHandler,
137 defaults={'_uri': '/articles/benchmarking/'}), 137 defaults={'_uri': '/articles/benchmarking/'}),
138 Route('/docs/editor/getting-started/', RedirectHandler, 138 Route('/docs/editor/getting-started/', RedirectHandler,
139 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}), 139 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}),
140 Route('/docs/dart2js/', RedirectHandler, 140 Route('/docs/dart2js/', RedirectHandler,
141 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}), 141 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}),
142 Route('/docs/standalone-dart-vm/', RedirectHandler, 142 Route('/docs/standalone-dart-vm/', RedirectHandler,
143 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart-vm.h tml'}), 143 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart-vm.h tml'}),
144 Route('/codelab', RedirectHandler, 144 Route('/codelab', RedirectHandler,
145 defaults={'_uri': '/codelabs/web-ui-writer/'}), 145 defaults={'_uri': '/codelabs/web-ui-writer/'}),
146 Route('/codelabs/web-ui-writer/codelab.pdf', RedirectHandler,
147 defaults={'_uri': '/codelabs/web-ui-writer/'}),
146 Route('/tools/analyzer', RedirectHandler, 148 Route('/tools/analyzer', RedirectHandler,
147 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart_anal yzer.html'}), 149 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart_anal yzer.html'}),
148 Route('/atom.xml', RedirectHandler, 150 Route('/atom.xml', RedirectHandler,
149 defaults={'_uri': 'http://news.dartlang.org/feeds/posts/default'}), 151 defaults={'_uri': 'http://news.dartlang.org/feeds/posts/default'}),
150 Route('/+lexicalscope', RedirectHandler, 152 Route('/+lexicalscope', RedirectHandler,
151 defaults={'_uri': '/docs/dart-up-and-running/contents/ch02.html#ch02-lexic al-scope'}), 153 defaults={'_uri': '/docs/dart-up-and-running/contents/ch02.html#ch02-lexic al-scope'}),
152 Route('/+pub', RedirectHandler, 154 Route('/+pub', RedirectHandler,
153 defaults={'_uri': 'https://pub.dartlang.org/'}), 155 defaults={'_uri': 'https://pub.dartlang.org/'}),
154 Route('/+dart2js', RedirectHandler, 156 Route('/+dart2js', RedirectHandler,
155 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}), 157 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}),
156 Route('/+isolates', RedirectHandler, 158 Route('/+isolates', RedirectHandler,
157 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}), 159 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}),
158 Route('/+', RedirectHandler, 160 Route('/+', RedirectHandler,
159 defaults={'_uri': 'https://google.com/+dartlang'}), 161 defaults={'_uri': 'https://google.com/+dartlang'}),
160 Route('/mailing-list', RedirectHandler, 162 Route('/mailing-list', RedirectHandler,
161 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}), 163 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}),
162 Route('/<path:[^.]*[^/]$>', RedirectHandler, 164 Route('/<path:[^.]*[^/]$>', RedirectHandler,
163 defaults={'_uri': trailing_slash})], 165 defaults={'_uri': trailing_slash})],
164 debug=True) 166 debug=True)
OLDNEW
« no previous file with comments | « src/appengine/app.yaml ('k') | src/articles/diagrams/numeric-computation/boxunbox.graffle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698