File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,27 @@ import config from 'docs-app/config/environment';
66import { properLinks } from 'ember-primitives/proper-links' ;
77
88@properLinks ( {
9- ignore : [ '/tests' ] ,
9+ ignore : [
10+ // Fallback to Prember
11+ '/1-get-started/intro' ,
12+ '/2-accessibility/intro' ,
13+ '/3-components/external-link' ,
14+ '/3-components/link' ,
15+ '/3-components/modal' ,
16+ '/3-components/popover' ,
17+ '/3-components/portal-targets' ,
18+ '/3-components/portal' ,
19+ '/3-components/shadowed' ,
20+ '/3-components/switch' ,
21+ '/3-components/toggle' ,
22+ '/4-helpers/service' ,
23+ '/5-utils/color-scheme' ,
24+ '/5-utils/iframe' ,
25+ '/5-utils/proper-links' ,
26+ '/6-forms/1-intro' ,
27+ '/6-forms/2-switch' ,
28+ '/tests' ,
29+ ] ,
1030} )
1131export default class Router extends EmberRouter {
1232 location = config . locationType ;
Original file line number Diff line number Diff line change @@ -17,7 +17,11 @@ module.exports = function (defaults) {
1717 urls : async function ( ) {
1818 let data = await urlsForPrerender ( ) ;
1919
20- return data . map ( ( markdownUrl ) => markdownUrl . replace ( / \. m d $ / , '' ) ) ;
20+ let pages = data . map ( ( markdownUrl ) => markdownUrl . replace ( / \. m d $ / , '' ) ) ;
21+
22+ console . debug ( 'pre-rendered pages' , pages ) ;
23+
24+ return pages ;
2125 } ,
2226 } ,
2327 } ) ;
You can’t perform that action at this time.
0 commit comments