1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! # Scrollcast
//!
//! A fast Rust library for converting Git repositories to beautifully formatted documents.
//!
//! ## Features
//!
//! - Convert repositories to PDF, EPUB, HTML, and Markdown
//! - Syntax highlighting for 300+ programming languages
//! - Git integration with .gitignore support
//! - Pure Rust implementation with no external dependencies
//!
//! ## Example
//!
//! ```rust,no_run
//! use scrollcast::{FileProcessor, MarkdownGenerator, OutputFormat, create_renderer, DocumentMetadata};
//! use scrollcast::renderer::DocumentRenderer;
//! use std::path::Path;
//!
//! fn main() -> anyhow::Result<()> {
//! let input_path = Path::new("./my-repo");
//! let output_path = Path::new("./output.pdf");
//!
//! // Discover files, honouring .gitignore
//! let processor = FileProcessor::new();
//! let files = processor.process_directory(input_path)?;
//!
//! // Generate the combined markdown document
//! let generator = MarkdownGenerator::new(true, true);
//! let markdown = generator.generate_markdown(&files, "my-repo")?;
//!
//! // Render to the chosen format
//! let metadata = DocumentMetadata {
//! title: "My Repository".to_string(),
//! ..Default::default()
//! };
//! let renderer = create_renderer(&OutputFormat::Pdf)?;
//! renderer.save_to_file(&markdown, &metadata, output_path)?;
//!
//! Ok(())
//! }
//! ```
pub use Config;
pub use FileProcessor;
pub use ;
pub use ;
pub use Theme;