文件操作 - config.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/date-fns/docs/config.js
编辑文件内容
/* eslint-disable */ /** @type {import('@date-fns/docs').DateFnsDocs.Config} */ export const config = { package: "..", json: "../tmp/docs.json", categories: [ "General", "Misc", "Common Helpers", "Conversion Helpers", "Interval Helpers", "Timestamp Helpers", "Millisecond Helpers", "Second Helpers", "Minute Helpers", "Hour Helpers", "Day Helpers", "Weekday Helpers", "Week Helpers", "ISO Week Helpers", "Month Helpers", "Quarter Helpers", "Year Helpers", "ISO Week-Numbering Year Helpers", "Decade Helpers", "Generic Helpers", ], files: [ { type: "markdown", slug: "Getting-Started", category: "General", title: "Getting Started", summary: "Introduction & installation instructions", path: "gettingStarted.md", }, { type: "markdown", slug: "Change-Log", category: "General", title: "Change Log", summary: "Changes for each version of the library", path: "../CHANGELOG.md", }, { type: "markdown", slug: "Contributing", category: "General", title: "Contributing", summary: "Contribution manual", path: "../CONTRIBUTING.md", }, { type: "markdown", slug: "Security", category: "General", title: "Security policy", summary: "Security policy", path: "../SECURITY.md", }, { type: "markdown", slug: "I18n", category: "General", title: "I18n", summary: "Internationalization", path: "i18n.md", }, { type: "markdown", slug: "I18n-Contribution-Guide", category: "General", title: "I18n Contribution Guide", summary: "Locales manual", path: "i18nContributionGuide.md", }, { type: "markdown", slug: "Time-Zones", category: "General", title: "Time Zones", summary: "Time zone support", path: "timeZones.md", }, { type: "markdown", slug: "CDN", category: "General", title: "CDN", summary: "CDN version of date-fns", path: "cdn.md", }, { type: "markdown", slug: "webpack", category: "General", title: "webpack", summary: "Using date-fns with webpack", path: "webpack.md", }, { type: "markdown", slug: "FP-Guide", category: "General", title: "FP Guide", summary: "Curried functions", path: "fp.md", }, { type: "markdown", slug: "Unicode-Tokens", category: "General", title: "Unicode Tokens", summary: "Usage of the Unicode tokens in parse and format", path: "unicodeTokens.md", }, { type: "markdown", slug: "License", category: "General", title: "License", summary: "MIT © Sasha Koss", path: "../LICENSE.md", }, ], kindsMap: { "src/constants/index.ts": { kind: "constants", category: "Misc", }, }, };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件