Skip to content

Commit

Permalink
feat(docs): update contentlayer.config.js fields
Browse files Browse the repository at this point in the history
  • Loading branch information
johancs.mm@gmail.com committed May 13, 2024
1 parent 115b088 commit a7b1c3a
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions apps/web/contentlayer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,9 @@ export const Doc = defineDocumentType(() => ({
filePathPattern: `docs/**/*.mdx`,
contentType: 'mdx',
fields: {
title: {
type: 'string',
required: true,
},
description: {
type: 'string',
},
published: {
type: 'boolean',
default: true,
},
title: { type: 'string', required: true },
description: { type: 'string', required: false },
date: { type: 'date', required: false },
},
computedFields,
}))
Expand Down

0 comments on commit a7b1c3a

Please sign in to comment.