refactor: remove unused metadata extraction (tags/wordCount)
- Remove extractTags() and calculateWordCount() methods (dead code) - Keep only extractTitle() method in MetadataExtractor - Remove includeMetadata option and related infrastructure - Update PreprocessingResult interfaces across all processors - Remove wordCount from metadata schema - Tags still populated from frontmatter (FrontmatterProcessor) - Build verification passes without errors Analysis showed these methods extracted data never consumed by Typst templates or PDF generation pipeline. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
5 files changed
+4
-87
No files matched your search
@@ -25,7 +25,6 @@ export interface PreprocessingResult {
|
||||
tags: string[];
|
||||
frontmatter?: Record<string, any>;
|
||||
title?: string;
|
||||
wordCount: number;
|
||||
pdfEmbeds?: Array<{
|
||||
originalPath: string;
|
||||
sanitizedPath: string;
|
||||
|
||||
Reference in new issue
Block a user