@@ -9,7 +9,7 @@ const config = {
99 tagline : 'Documentation and Community Platform for the Sovereign Cloud Stack' ,
1010 url : 'https://docs.scs.community' ,
1111 baseUrl : '/' ,
12- onBrokenLinks : 'throw ' ,
12+ onBrokenLinks : 'warn ' ,
1313 onBrokenMarkdownLinks : 'warn' ,
1414 favicon : 'img/favicon.ico' ,
1515 markdown : {
@@ -81,6 +81,16 @@ const config = {
8181 // ... other options
8282 }
8383 ] ,
84+ [
85+ '@docusaurus/plugin-content-docs' ,
86+ {
87+ id : 'user-docs' ,
88+ path : 'user-docs' ,
89+ routeBasePath : 'user-docs' ,
90+ sidebarPath : require . resolve ( './sidebarsUserDocs.js' )
91+ // ... other options
92+ }
93+ ] ,
8494 [
8595 '@docusaurus/plugin-content-docs' ,
8696 {
@@ -120,6 +130,11 @@ const config = {
120130 label : 'For Contributors' ,
121131 position : 'left'
122132 } ,
133+ {
134+ to : '/user-docs' ,
135+ label : 'For Users' ,
136+ position : 'left'
137+ } ,
123138 { to : '/community' , label : 'Community' , position : 'left' } ,
124139 { to : '/docs/faq' , label : 'FAQ' , position : 'left' } ,
125140 {
@@ -194,12 +209,19 @@ const config = {
194209 // @ts -ignore
195210 ( {
196211 hashed : true ,
197- docsDir : [ 'docs' , 'community' , 'standards' , 'contributor-docs' ] ,
212+ docsDir : [
213+ 'docs' ,
214+ 'community' ,
215+ 'standards' ,
216+ 'contributor-docs' ,
217+ 'user-docs'
218+ ] ,
198219 docsRouteBasePath : [
199220 'docs' ,
200221 'community' ,
201222 'standards' ,
202- 'contributor-docs'
223+ 'contributor-docs' ,
224+ 'user-docs'
203225 ]
204226 } )
205227 ]
0 commit comments