config.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. module.exports = {
  2. base: '/OS_lab_tutorial/',
  3. title: '操作系统实验',
  4. description: 'Welcome!',
  5. themeConfig: {
  6. nav: [
  7. { text: '首页', link: '/' },
  8. {
  9. // linux教案结构
  10. text: 'Linux',
  11. items: [
  12. {
  13. text: '实验教程',
  14. items:[
  15. { text: '实验1-熟悉类Linux系统', link: '/Linux/Lab/Lab1' },
  16. { text: '实验2-进程创建与进程间通信', link: '/Linux/Lab/Lab2' },
  17. { text: '实验3-进程调度算法', link: '/Linux/Lab/Lab3/' },
  18. { text: '实验4-存储管理算法', link: '/Linux/Lab/Lab4/' }, // 这里 /Lab/Lab4/ 表明路径是目录
  19. { text: '实验5-文件管理系统', link: '/Linux/Lab/Lab5' },
  20. { text: '实验6-网络编程(暂定)', link: '/Linux/Lab/Lab6' }
  21. ]
  22. },
  23. {
  24. text: '课程练习',
  25. items:[
  26. { text: '实验1-熟悉类Linux系统', link: '/Linux/Assignment/Lab1' },
  27. { text: '实验2-进程创建与进程间通信', link: '/Linux/Assignment/Lab2' },
  28. { text: '实验3-进程调度算法', link: '/Linux/Assignment/Lab3' },
  29. { text: '实验4-存储管理算法', link: '/Linux/Assignment/Lab4' },
  30. { text: '实验5-文件管理系统', link: '/Linux/Assignment/Lab5' },
  31. { text: '实验6-网络编程(暂定)', link: '/Linux/Assignment/Lab6' }
  32. ]
  33. },
  34. {
  35. text: '附录',
  36. items:[
  37. { text: '实验1-熟悉类Linux系统', link: '/Linux/Appendix/Lab1' },
  38. { text: '实验2-进程创建与进程间通信', link: '/Linux/Appendix/Lab2' },
  39. { text: '实验3-进程调度算法', link: '/Linux/Appendix/Lab3' },
  40. { text: '实验4-存储管理算法', link: '/Linux/Appendix/Lab4' },
  41. { text: '实验5-文件管理系统', link: '/Linux/Appendix/Lab5' },
  42. { text: '实验6-网络编程(暂定)', link: '/Linux/Appendix/Lab6' }
  43. ]
  44. }
  45. ]
  46. },
  47. // DragonOS教案结构
  48. {
  49. text: 'DragonOS',
  50. items: [
  51. {
  52. text: '实验教程',
  53. items:[
  54. { text: '实验-文件系统', link: '/DragonOS/Lab/Lab1' }
  55. ]
  56. },
  57. {
  58. text: '课程练习',
  59. items:[
  60. { text: '实验-文件系统', link: '/DragonOS/Assignment/Lab1' }
  61. ]
  62. },
  63. {
  64. text: '附录',
  65. items:[
  66. { text: '实验-文件系统', link: '/DragonOS/Appendix/Lab1' }
  67. ]
  68. }
  69. ]
  70. }
  71. ],
  72. sidebar: {
  73. '/Linux/Lab/Lab3/': [
  74. {
  75. title: '进程调度',
  76. children: [
  77. ['', '任务说明'],
  78. ['RR', 'RR调度算法'],
  79. ['SJF', 'SJF调度算法'],
  80. ['CFS', 'CFS调度算法'],
  81. ['MLFQ', 'MLFQ调度算法'],
  82. ],
  83. },
  84. ],
  85. '/Linux/Lab/Lab4/': [
  86. {
  87. title: '存储管理',
  88. children: [
  89. ['', '任务说明'],
  90. ['FIFO', 'FIFO页面置换算法'],
  91. ['LRU', 'LRU页面置换算法'],
  92. ['CLOCK', 'CLOCK页面置换算法'],
  93. ],
  94. },
  95. ],
  96. }
  97. }
  98. }