config.js 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. module.exports = {
  2. title: 'QtPromise',
  3. description: 'Promises/A+ implementation for Qt/C++',
  4. dest: 'dist/docs',
  5. head: [
  6. ['link', { rel: 'icon', href: `/favicon.png` }],
  7. ],
  8. plugins: [
  9. ['@vuepress/google-analytics', {
  10. ga: 'UA-113899811-1'
  11. }]
  12. ],
  13. themeConfig: {
  14. repo: 'simonbrunel/qtpromise',
  15. lastUpdated: 'Last Updated',
  16. smoothScroll: false,
  17. editLinks: true,
  18. sidebarDepth: 2,
  19. docsDir: 'docs',
  20. algolia: {
  21. apiKey: '0e6e9cccb8c2c360a5543e28c4e31cb8',
  22. indexName: 'qtpromise'
  23. },
  24. nav: [
  25. { text: 'Home', link: '/' },
  26. { text: 'Guide', link: '/qtpromise/getting-started' },
  27. { text: 'API Reference', link: '/qtpromise/api-reference' },
  28. ],
  29. sidebar: [
  30. '/qtpromise/getting-started',
  31. '/qtpromise/qtconcurrent',
  32. '/qtpromise/qtsignals',
  33. '/qtpromise/thread-safety',
  34. {
  35. title: 'API Reference',
  36. path: '/qtpromise/api-reference',
  37. children: [
  38. //['/qtpromise/api-reference', 'Overview'],
  39. {
  40. title: 'QPromise',
  41. children: [
  42. '/qtpromise/qpromise/constructor',
  43. '/qtpromise/qpromise/convert',
  44. '/qtpromise/qpromise/delay',
  45. '/qtpromise/qpromise/each',
  46. '/qtpromise/qpromise/fail',
  47. '/qtpromise/qpromise/filter',
  48. '/qtpromise/qpromise/finally',
  49. '/qtpromise/qpromise/isfulfilled',
  50. '/qtpromise/qpromise/ispending',
  51. '/qtpromise/qpromise/isrejected',
  52. '/qtpromise/qpromise/map',
  53. '/qtpromise/qpromise/reduce',
  54. '/qtpromise/qpromise/tap',
  55. '/qtpromise/qpromise/tapfail',
  56. '/qtpromise/qpromise/then',
  57. '/qtpromise/qpromise/timeout',
  58. '/qtpromise/qpromise/wait',
  59. '/qtpromise/qpromise/reject',
  60. '/qtpromise/qpromise/resolve'
  61. ]
  62. },
  63. {
  64. title: 'Helpers',
  65. children: [
  66. '/qtpromise/helpers/all',
  67. '/qtpromise/helpers/attempt',
  68. '/qtpromise/helpers/connect',
  69. '/qtpromise/helpers/each',
  70. '/qtpromise/helpers/filter',
  71. '/qtpromise/helpers/map',
  72. '/qtpromise/helpers/reduce',
  73. '/qtpromise/helpers/resolve'
  74. ]
  75. },
  76. {
  77. title: 'Exceptions',
  78. children: [
  79. '/qtpromise/exceptions/canceled',
  80. '/qtpromise/exceptions/context',
  81. '/qtpromise/exceptions/conversion',
  82. '/qtpromise/exceptions/timeout',
  83. '/qtpromise/exceptions/undefined'
  84. ]
  85. }
  86. ]
  87. }
  88. ]
  89. }
  90. }