Skip to content

Commit f722dd7

Browse files
committed
1 parent 7a1599e commit f722dd7

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

hieradata/common.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,19 @@ docs_sites:
355355
url: https://jquerymobile.com/demos/
356356
mode: exact
357357
permanent: true
358+
# Match URLs like https://jquerymobile.com/demos/1.3.0-beta.1/docs/demos/panels/panel-nav-form.html
359+
# but not https://jquerymobile.com/demos/ which is a normal page.
360+
#
361+
# E.g. linked from
362+
# https://blog.jquerymobile.com/2010/10/16/jquery-mobile-alpha-1-released/
363+
# https://blog.jquerymobile.com/2013/02/20/jquery-mobile-1-3-0-released/
364+
- match:
365+
path: /demos/1
366+
mode: prefix
367+
target:
368+
url: https://demos.jquerymobile.com/1
369+
mode: exact
370+
permanent: true
358371
- match:
359372
path: /themeroller
360373
mode: prefix
@@ -370,6 +383,12 @@ docs_sites:
370383
url: https://blog.jquerymobile.com
371384
mode: prefix
372385
permanent: true
386+
- match:
387+
path: /feed
388+
mode: exact
389+
target:
390+
url: https://blog.jquerymobile.com/feed/
391+
mode: exact
373392
jqueryui_com:
374393
host: jqueryui.com
375394
site_name: jQuery UI
@@ -393,7 +412,7 @@ docs_sites:
393412
mode: prefix
394413
target:
395414
url: https://learn.jquery.com/jquery-ui/theming/
396-
mode: prefix
415+
mode: exact
397416
permanent: true
398417
- match:
399418
path: /docs

test/WpdocsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@
2121
'https://jqueryui.com/latest/ui/jquery.effects.core.js' => 'https://code.jquery.com',
2222
'https://jqueryui.com/docs/Changelog/1.13.0' => 'https://jqueryui.com/changelog/1.13.0',
2323
'https://jqueryui.com/docs/Theming' => 'https://learn.jquery.com/jquery-ui/theming/',
24+
'https://jqueryui.com/docs/Theming/x' => 'https://learn.jquery.com/jquery-ui/theming/',
2425
'https://jqueryui.com/docs/About' => 'https://jqueryui.com/About',
2526
'https://jqueryui.com/docs/dialog' => 'https://jqueryui.com/dialog',
2627
'https://jqueryui.com/bugs/ticket/3484' => 'https://bugs.jqueryui.com/ticket/3484',
2728

2829
'https://jquerymobile.com/blog/feed' => 'https://blog.jquerymobile.com/feed',
2930
'https://jquerymobile.com/blog/feed/' => 'https://blog.jquerymobile.com/feed/',
3031
'https://jquerymobile.com/blog/2011/11/16/announcing-jquery-mobile-1-0/' => 'https://blog.jquerymobile.com/2011/11/16/announcing-jquery-mobile-1-0/',
32+
'https://jquerymobile.com/demos/1.3.0-beta.1/docs/demos/panels/panel-nav-form.html' => 'https://demos.jquerymobile.com/1.3.0-beta.1/docs/demos/panels/panel-nav-form.html'
3133
3234
'https://jquery.org/feed/' => 'https://meetings.jquery.org/feed/',
3335

0 commit comments

Comments
 (0)