content.config.ts — astro Source File
Architecture documentation for content.config.ts, a typescript file in the astro codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR b39c8d09_2489_54af_95b8_7ee9ab5a4580["content.config.ts"] 48f80d01_e646_3924_78f6_a9d836644746["astro:content"] b39c8d09_2489_54af_95b8_7ee9ab5a4580 --> 48f80d01_e646_3924_78f6_a9d836644746 d47373dc_6761_5858_3027_a4a6472dd795["loaders"] b39c8d09_2489_54af_95b8_7ee9ab5a4580 --> d47373dc_6761_5858_3027_a4a6472dd795 style b39c8d09_2489_54af_95b8_7ee9ab5a4580 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
export const collections = {
docs: defineCollection({
loader: glob({ pattern: '**/*.mdoc', base: './src/content/docs' }),
}),
};
Dependencies
- astro:content
- loaders
Source
Frequently Asked Questions
What does content.config.ts do?
content.config.ts is a source file in the astro codebase, written in typescript.
What does content.config.ts depend on?
content.config.ts imports 2 module(s): astro:content, loaders.
Where is content.config.ts in the architecture?
content.config.ts is located at examples/with-markdoc/src/content.config.ts (directory: examples/with-markdoc/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free