config.js 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. module.exports = {
  2. "title": "CIM平台接口文档",
  3. "description": "CIM平台接口文档",
  4. "dest": "public",
  5. "base": './',
  6. "head": [
  7. [
  8. "link",
  9. {
  10. "rel": "icon",
  11. "href": "/favicon.ico"
  12. }
  13. ],
  14. [
  15. "meta",
  16. {
  17. "name": "viewport",
  18. "content": "width=device-width,initial-scale=1,user-scalable=no"
  19. }
  20. ]
  21. ],
  22. "theme": "reco",
  23. "themeConfig": {
  24. "nav": [{
  25. "text": "主页",
  26. "link": "/",
  27. "icon": "reco-home"
  28. },
  29. {
  30. "text": "API",
  31. "icon": "reco-message",
  32. "link": "/docs/theme-reco/jtlayers/"
  33. // "items": [{
  34. // "text": "vuepress-reco",
  35. // "link": "/docs/theme-reco/"
  36. // }]
  37. },
  38. ],
  39. "sidebar": {
  40. "/docs/theme-reco/": [{
  41. title: '地图API',
  42. collapsable: true,
  43. children: [{
  44. title: '弹出框',
  45. path: "jtpopup"
  46. },
  47. {
  48. title: '图层控制',
  49. path: "jtlayers"
  50. },
  51. {
  52. title: '底图切换',
  53. path: "jtbasemaps"
  54. }, {
  55. title: '视角标签',
  56. path: "jtbookmark"
  57. },
  58. {
  59. title: '图形查询',
  60. path: "jtquerygraphics"
  61. },
  62. {
  63. title: '关键字查询',
  64. path: "jtquerypoi"
  65. }, {
  66. title: '查询结果',
  67. path: "jtqueryresult"
  68. },
  69. {
  70. title: '工具栏',
  71. path: "jttoolbars"
  72. }, {
  73. title: '特效效果',
  74. path: "jtspecialeffects"
  75. },
  76. {
  77. title: '跟踪漫游',
  78. path: "jtroamingpath"
  79. }, {
  80. title: '地图打印',
  81. path: "jtprint"
  82. }, {
  83. title: '地图标绘',
  84. path: "jtplot"
  85. }, {
  86. title: '地图测量',
  87. path: "jtmeasure"
  88. }, {
  89. title: '卷帘对比',
  90. path: "jtmapsplit"
  91. }, {
  92. title: '分屏对比',
  93. path: "jtmapcompare"
  94. }, {
  95. title: '区域导航',
  96. path: "jtlocationregion"
  97. }, {
  98. title: '坐标工具',
  99. path: "jtcoordinate"
  100. }, {
  101. title: '地形分析',
  102. path: "jtanalysisterrain"
  103. }, {
  104. title: '空间分析',
  105. path: "jtanalysisspace"
  106. }, {
  107. title: '文件解析',
  108. path: "jtanalysisshp"
  109. },
  110. ]
  111. }],
  112. },
  113. "type": "blog",
  114. "logo": "/logo.png",
  115. "search": true,
  116. "searchMaxSuggestions": 10,
  117. "lastUpdated": "Last Updated",
  118. "author": "金田@author彭于晏",
  119. "authorAvatar": "/pyy.jpg",
  120. "record": "xxxx",
  121. "startYear": "2023"
  122. },
  123. "markdown": {
  124. "lineNumbers": true
  125. },
  126. plugins: [
  127. [
  128. //先安装在配置, npm install @vuepress-reco/vuepress-plugin-kan-ban-niang --save
  129. "@vuepress-reco/vuepress-plugin-kan-ban-niang",
  130. {
  131. theme: ['blackCat', 'whiteCat', 'haru1', 'haru2', 'haruto', 'koharu', 'izumi', 'shizuku',
  132. 'wanko', 'miku', 'z16'
  133. ],
  134. clean: false,
  135. messages: {
  136. welcome: '我是lookroot欢迎你的关注 ',
  137. home: '心里的花,我想要带你回家。',
  138. theme: '好吧,希望你能喜欢我的其他小伙伴。',
  139. close: '再见哦'
  140. },
  141. width: 240,
  142. height: 352
  143. }
  144. ],
  145. [
  146. //彩带背景 先安装在配置, npm install vuepress-plugin-ribbon --save
  147. "ribbon",
  148. {
  149. size: 90, // width of the ribbon, default: 90
  150. opacity: 0.6, // opacity of the ribbon, default: 0.3
  151. zIndex: -1 // z-index property of the background, default: -1
  152. }
  153. ],
  154. [
  155. //鼠标点击特效 先安装在配置, npm install vuepress-plugin-cursor-effects --save
  156. "cursor-effects",
  157. {
  158. size: 3, // size of the particle, default: 2
  159. shape: ['star'], // shape of the particle, default: 'star'
  160. zIndex: 999999999 // z-index property of the canvas, default: 999999999
  161. }
  162. ]
  163. ]
  164. }
  165. // import {
  166. // defineUserConfig
  167. // } from 'vuepress'
  168. // import {
  169. // recoTheme
  170. // } from 'vuepress-theme-reco'
  171. // export default defineUserConfig({
  172. // theme: recoTheme({
  173. // // options
  174. // })
  175. // })