UNPKG

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