File tree Expand file tree Collapse file tree 3 files changed +6
-22
lines changed Expand file tree Collapse file tree 3 files changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ let components = {
4747 "Warn" : Markdown .Warn .make ,
4848 "CommunityContent" : CommunityContent .make ,
4949 "WarningTable" : WarningTable .make ,
50+ "Docson" : Docson .make ,
5051}
5152
5253let convertToNavItems = (items , rootPath ) =>
Original file line number Diff line number Diff line change @@ -7,26 +7,5 @@ section: "Build System"
77order : 3
88---
99
10- { / \*
1110
12- TODO : RR7
13-
14- import dynamic from " next/dynamic" ;
15-
16- export const Docson = dynamic (
17- () =>
18- import (" src/components/Docson" ).then ((comp ) => {
19- return comp .make ;
20- }),
21- {
22- ssr: false ,
23- loading : () => <div > Loading... </div >,
24- },
25- );
26-
27- export default function BuildConfigurationSchemaPage() {
28- return <Docson tag = " master" />;
29- }
30- */
31-
32- }
11+ <Docson tag = " master" />;
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ let make = (~tag) => {
3030 }
3131 Promise .resolve ()
3232 })
33+ -> Promise .catch (err => {
34+ Console .error2 ("Failed to load docson schema" , err )
35+ Promise .resolve ()
36+ })
3337
3438 None
3539 }, [])
You can’t perform that action at this time.
0 commit comments