Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Sep 30, 2024
1 parent 8a6182b commit 438c3a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions contentlayer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ const BlogPost = defineDocumentType(() => ({
},
}))

const Kcl = defineDocumentType(() => ({
name: 'Kcl',
const KclDoc = defineDocumentType(() => ({
name: 'KclDoc',
filePathPattern: `pages/docs/kcl/*.md`,
contentType: 'markdown',
fields: {
Expand Down Expand Up @@ -282,8 +282,8 @@ const KclType = defineDocumentType(() => ({
}))


const Cli = defineDocumentType(() => ({
name: 'Cli',
const CliDoc = defineDocumentType(() => ({
name: 'CliDoc',
filePathPattern: `pages/docs/cli/**/*.md`,
contentType: 'markdown',
fields: {
Expand Down Expand Up @@ -323,6 +323,6 @@ const Cli = defineDocumentType(() => ({

export default makeSource({
contentDirPath: 'content',
documentTypes: [Tutorial, Glossary, BlogPost, Page, Kcl, KclType, Cli],
documentTypes: [Tutorial, Glossary, BlogPost, Page, KclDoc, KclType, CliDoc],
disableImportAliasWarning: true,
})

0 comments on commit 438c3a2

Please sign in to comment.