1+ import { defineUserConfig } from 'vuepress' ;
2+ import defaultTheme from '@vuepress/theme-default' ;
3+ import { viteBundler } from '@vuepress/bundler-vite'
4+ import { searchProPlugin } from 'vuepress-plugin-search-pro' ;
5+ import { mdEnhancePlugin } from 'vuepress-plugin-md-enhance' ;
6+
7+ export default defineUserConfig ( {
8+ title : 'Northwestern Tools for Laravel' ,
9+ description : 'Enhance Laravel with easy access to popular Northwestern APIs & webSSO/Duo multi-factor authentication.' ,
10+ head : [
11+ [ 'link' , { href : 'https://common.northwestern.edu/v8/icons/favicon-16.png' , rel : 'icon' , sizes : '16x16' , type : 'image/png' } ] ,
12+ [ 'link' , { href : 'https://common.northwestern.edu/v8/icons/favicon-32.png' , rel : 'icon' , sizes : '32x32' , type : 'image/png' } ] ,
13+ [ 'link' , { href : 'https://use.fontawesome.com/releases/v6.4.0/css/all.css' , rel : 'stylesheet' } ] ,
14+ ] ,
15+ pagePatterns : [ '**/*.md' , '!**/README.md' , '!.vuepress' , '!node_modules' ] ,
16+ base : '/SysDev-laravel-soa/' ,
17+
18+ bundler : viteBundler ( {
19+ viteOptions : { } ,
20+ vuePluginOptions : { } ,
21+ } ) ,
22+
23+ theme : defaultTheme ( {
24+ repo : 'NIT-Administrative-Systems/SysDev-laravel-soa' ,
25+ docsBranch : 'develop' ,
26+ docsDir : 'docs' ,
27+ editLink : true ,
28+ editLinkText : 'Edit Page' ,
29+ lastUpdated : true ,
30+ sidebarDepth : 1 ,
31+
32+ sidebar : [
33+ {
34+ text : 'Getting Started' ,
35+ collapsible : false ,
36+ children : [
37+ { text : 'Introduction' , link : '/' } ,
38+ { text : 'Upgrading' , link : '/upgrading' } ,
39+ ] ,
40+ } ,
41+
42+ {
43+ text : 'Services' ,
44+ collapsible : false ,
45+ children : [
46+ { text : 'WebSSO' , link : '/websso' } ,
47+ { text : 'EventHub' , link : '/eventhub' } ,
48+ { text : 'Directory Search' , link : '/directory-search' } ,
49+ ] ,
50+ }
51+ ] ,
52+ } ) ,
53+ plugins : [
54+ searchProPlugin ( {
55+ indexContent : true ,
56+ searchDelay : 500 ,
57+ autoSuggestions : false ,
58+ } ) ,
59+ mdEnhancePlugin ( {
60+ tabs : true ,
61+ footnote : true ,
62+ mark : true ,
63+ include : true ,
64+ } )
65+ ] ,
66+ } ) ;
0 commit comments