How allenasat044-prog/doing-it-in-public works
Quartz is a digital-garden publishing tool: it takes a user’s notes and configuration, processes Markdown through configurable plugins, then renders and emits a static website. The graph emphasizes that build workflow while retaining page types, component rendering, plugin configuration, and the CLI’s plugin-management capability. Several subsystems are represented by exact tree paths but were not excerpted; their connections are shown only where the README or SOURCE INDEX supports them.
Main entry points: build.ts Build orchestration · emit.ts File emission · renderPage.tsx Page rendering · parse.ts Markdown parsing
Components 23
Build pipeline
- Build orchestration
quartz/build.ts - Build context
quartz/util/ctx.ts - Markdown parsing
quartz/processors/parse.ts - Processed content
quartz/plugins/vfile.ts - Publish filtering
quartz/processors/filter.ts - File emission
quartz/processors/emit.ts
Plugin system
- Configuration loading
quartz/plugins/loader/config-loader.ts - Plugin configuration
quartz/plugins/config.ts - Content transformers
quartz/plugins/transformers - Page types
quartz/plugins/pageTypes - Page dispatcher
quartz/plugins/pageTypes/dispatcher.ts - Output emitters
quartz/plugins/emitters - Component resources
quartz/plugins/emitters/componentResources.ts
Page rendering
- Page rendering
quartz/components/renderPage.tsx - Page components
quartz/components/registry.ts - Page frames
quartz/components/frames - Translations
quartz/i18n/index.ts
Plugin management
- CLI commands
quartz/cli/handlers.js - Git plugin actions
quartz/cli/plugin-git-handlers.js - Plugin metadata
quartz/cli/plugin-data.js
Other components
- Garden author
- Markdown notes
- Static website
Connections 24
- Garden author → Markdown notes: writes
- Markdown notes → Build orchestration: provides notes
- Build orchestration → Markdown parsing: parses
quartz/build.ts - Build orchestration → Publish filtering: filters
quartz/build.ts - Build orchestration → File emission: emits
quartz/build.ts - Markdown parsing → Processed content: produces
quartz/processors/parse.ts - Publish filtering → Processed content: filters content
quartz/processors/filter.ts - File emission → Processed content: emits from
quartz/processors/emit.ts - Build orchestration → Build context: configures
quartz/build.ts - Build orchestration → Configuration loading: loads config
quartz/build.ts - Configuration loading → Plugin configuration: loads plugins
- Markdown parsing → Content transformers: runs transforms
quartz/processors/parse.ts - File emission → Output emitters: runs emitters
quartz/processors/emit.ts - File emission → Component resources: runs first
quartz/processors/emit.ts - File emission → Page dispatcher: runs second
quartz/processors/emit.ts - Page dispatcher → Page types: dispatches
- Page dispatcher → Page rendering: renders pages
quartz/plugins/pageTypes/dispatcher.ts - Page rendering → Page components: uses registry
quartz/components/renderPage.tsx - Page rendering → Page frames: uses frames
quartz/components/renderPage.tsx - Page rendering → Translations: uses translations
quartz/components/renderPage.tsx - File emission → Static website: writes site
quartz/processors/emit.ts - Garden author → CLI commands: runs commands
- CLI commands → Git plugin actions: dispatches
quartz/cli/handlers.js - Git plugin actions → Plugin metadata: reads and writes
quartz/cli/plugin-git-handlers.js