@@ -22,17 +22,29 @@ const config = {
2222 organizationName : 'letsescape' , // Usually your GitHub org/user name.
2323 projectName : 'laravel-docs-web' , // Usually your repo name.
2424
25- onBrokenLinks : 'throw ' ,
25+ onBrokenLinks : 'warn ' ,
2626 onBrokenMarkdownLinks : 'warn' ,
2727
2828 // Even if you don't use internalization, you can use this field to set useful
2929 // metadata like html lang. For example, if your site is Chinese, you may want
3030 // to replace "en" with "zh-Hans".
3131 i18n : {
3232 defaultLocale : 'ko' ,
33- locales : [ 'ko' ] ,
33+ locales : [ 'ko' , 'en' ] ,
3434 } ,
3535
36+ themes : [
37+ [
38+ require . resolve ( "@easyops-cn/docusaurus-search-local" ) ,
39+ {
40+ hashed : true ,
41+ language : [ "en" , "ko" ] ,
42+ highlightSearchTermsOnTargetPage : true ,
43+ explicitSearchResultPath : true ,
44+ } ,
45+ ] ,
46+ ] ,
47+
3648 presets : [
3749 [
3850 'classic' ,
@@ -44,14 +56,22 @@ const config = {
4456 // Remove this to remove the "edit this page" links.
4557 editUrl :
4658 'https://github.com/letsescape/laravel-docs-web/tree/main/' ,
59+ routeBasePath : 'docs' ,
60+ includeCurrentVersion : true ,
61+ lastVersion : 'current' ,
62+ versions : {
63+ current : {
64+ label : '12.x' ,
65+ path : '' ,
66+ } ,
67+ '11.x' : {
68+ label : '11.x' ,
69+ path : '11.x' ,
70+ } ,
71+ } ,
72+ // remarkPlugins 설정 제거
4773 } ,
48- blog : {
49- showReadingTime : true ,
50- // Please change this to your repo.
51- // Remove this to remove the "edit this page" links.
52- editUrl :
53- 'https://github.com/letsescape/laravel-docs-web/tree/main/' ,
54- } ,
74+ blog : false ,
5575 theme : {
5676 customCss : require . resolve ( './src/css/custom.css' ) ,
5777 } ,
@@ -77,7 +97,17 @@ const config = {
7797 position : 'left' ,
7898 label : '문서' ,
7999 } ,
80- { to : '/blog' , label : '블로그' , position : 'left' } ,
100+ // 블로그 기능 비활성화
101+ {
102+ type : 'docsVersionDropdown' ,
103+ position : 'right' ,
104+ dropdownItemsAfter : [ ] ,
105+ dropdownActiveClassDisabled : true ,
106+ } ,
107+ {
108+ type : 'localeDropdown' ,
109+ position : 'right' ,
110+ } ,
81111 {
82112 href : 'https://github.com/letsescape/laravel-docs-web' ,
83113 label : 'GitHub' ,
@@ -109,10 +139,7 @@ const config = {
109139 {
110140 title : '더 보기' ,
111141 items : [
112- {
113- label : '블로그' ,
114- to : '/blog' ,
115- } ,
142+ // 블로그 기능 비활성화
116143 {
117144 label : 'GitHub' ,
118145 href : 'https://github.com/letsescape/laravel-docs-web' ,
0 commit comments