import { defineDocumentType, makeSource } from 'contentlayer/source-files' // import readingTime from 'reading-time' import remarkGfm from 'remark-gfm'; const OtherPage = defineDocumentType(() => ({ name: 'OtherPage', filePathPattern: '**/*.md*', contentType: 'mdx', fields: { title: { type: 'string', required: false }, date: { type: 'string', required: false }, authors: { type: 'string', required: false }, description: { type: 'string', required: false }, } })); export default makeSource({ contentDirPath: 'content', documentTypes: [OtherPage], mdx: { remarkPlugins: [remarkGfm], } })