sabbath_school_reproducer.utils package
Submodules
sabbath_school_reproducer.utils.debug_tools module
Debug Tools for Sabbath School Lesson Downloader
This module provides tools to parse and debug the combined markdown file.
- class sabbath_school_reproducer.utils.debug_tools.DebugTools[source]
Bases:
objectTools for debugging and inspecting markdown content.
- static extract_section(markdown_path, section_name)[source]
Extract a specific section from the combined markdown file
- Parameters:
markdown_path (str) – Path to the combined markdown file
section_name (str) – Name of the section to extract (e.g., ‘front-matter.md’)
- Returns:
Content of the specified section, or None if not found
- Return type:
str or None
- static generate_debug_html(markdown_path, output_path=None)[source]
Generate a more sophisticated debug HTML from the combined markdown file
- Parameters:
markdown_path (str) – Path to the combined markdown file
output_path (str, optional) – Path to save the HTML file
- Returns:
Path to the generated HTML file
- Return type:
str
Module contents
Utility modules for Sabbath School Lessons.
This package contains utility modules for debugging and other helper functions.