Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.js 3.5 KiB

há 3 anos
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. const path = require('path')
  2. module.exports = {
  3. groups: [
  4. 'General',
  5. 'Types',
  6. 'Common Helpers',
  7. 'Interval Helpers',
  8. 'Timestamp Helpers',
  9. 'Millisecond Helpers',
  10. 'Second Helpers',
  11. 'Minute Helpers',
  12. 'Hour Helpers',
  13. 'Day Helpers',
  14. 'Weekday Helpers',
  15. 'Week Helpers',
  16. 'ISO Week Helpers',
  17. 'Month Helpers',
  18. 'Quarter Helpers',
  19. 'Year Helpers',
  20. 'ISO Week-Numbering Year Helpers',
  21. 'Decade Helpers'
  22. ],
  23. staticDocs: [
  24. {
  25. type: 'markdown',
  26. urlId: 'Getting-Started',
  27. category: 'General',
  28. title: 'Getting Started',
  29. description: 'Introduction & installation instructions',
  30. path: path.join(__dirname, 'gettingStarted.md')
  31. },
  32. {
  33. type: 'markdown',
  34. urlId: 'Change-Log',
  35. category: 'General',
  36. title: 'Change Log',
  37. description: 'Changes for each version of the library',
  38. path: path.join(__dirname, '..', 'CHANGELOG.md')
  39. },
  40. {
  41. type: 'markdown',
  42. urlId: 'Contributing',
  43. category: 'General',
  44. title: 'Contributing',
  45. description: 'Contribution manual',
  46. path: path.join(__dirname, '..', 'CONTRIBUTING.md')
  47. },
  48. {
  49. type: 'markdown',
  50. urlId: 'Constants',
  51. category: 'General',
  52. title: 'Constants',
  53. description: 'Useful constants',
  54. path: path.join(__dirname, 'constants.md')
  55. },
  56. {
  57. type: 'markdown',
  58. urlId: 'I18n',
  59. category: 'General',
  60. title: 'I18n',
  61. description: 'Internationalization',
  62. path: path.join(__dirname, 'i18n.md')
  63. },
  64. {
  65. type: 'markdown',
  66. urlId: 'I18n-Contribution-Guide',
  67. category: 'General',
  68. title: 'I18n Contribution Guide',
  69. description: 'Locales manual',
  70. path: path.join(__dirname, 'i18nContributionGuide.md')
  71. },
  72. {
  73. type: 'markdown',
  74. urlId: 'Time-Zones',
  75. category: 'General',
  76. title: 'Time Zones',
  77. description: 'Time zone functions',
  78. path: path.join(__dirname, 'timeZones.md')
  79. },
  80. {
  81. type: 'markdown',
  82. urlId: 'ECMAScript-Modules',
  83. category: 'General',
  84. title: 'ECMAScript Modules',
  85. description: 'Tree-shaking guide',
  86. path: path.join(__dirname, 'esm.md')
  87. },
  88. {
  89. type: 'markdown',
  90. urlId: 'webpack',
  91. category: 'General',
  92. title: 'webpack',
  93. description: 'Using date-fns with webpack',
  94. path: path.join(__dirname, 'webpack.md')
  95. },
  96. {
  97. type: 'markdown',
  98. urlId: 'FP-Guide',
  99. category: 'General',
  100. title: 'FP Guide',
  101. description: 'Curried functions',
  102. path: path.join(__dirname, 'fp.md')
  103. },
  104. {
  105. type: 'markdown',
  106. urlId: 'Unicode-Tokens',
  107. category: 'General',
  108. title: 'Unicode Tokens',
  109. description: 'Usage of the Unicode tokens in parse and format',
  110. path: path.join(__dirname, 'unicodeTokens.md')
  111. },
  112. {
  113. type: 'markdown',
  114. urlId: 'Upgrade-Guide',
  115. category: 'General',
  116. title: 'Upgrade guide',
  117. description: 'Changes from v1 to v2',
  118. path: path.join(__dirname, 'upgradeGuide.md')
  119. },
  120. {
  121. type: 'markdown',
  122. urlId: 'License',
  123. category: 'General',
  124. title: 'License',
  125. description: 'MIT © Sasha Koss',
  126. path: path.join(__dirname, '..', 'LICENSE.md')
  127. }
  128. ],
  129. sharedDocs: [
  130. {
  131. fullPath: path.join(__dirname, 'Interval.js')
  132. },
  133. {
  134. fullPath: path.join(__dirname, 'Locale.js')
  135. },
  136. {
  137. fullPath: path.join(__dirname, 'Duration.js')
  138. }
  139. ]
  140. }