Enhances individual death info and note generation
Extracts and includes the death year from the death date in individual data. Adds a flag to control subdirectory usage for generated files. This ensures correct linking and image paths in notes when using a subdirectory structure (people/, stories/, media/). Also, improves error logging during note generation.
This commit is contained in:
5 files changed
+26
-13
No files matched your search
@@ -158,6 +158,7 @@ def convert_gedcom_to_markdown(
|
||||
media_subdir=media_subdir_name,
|
||||
stories_subdir=stories_subdir_name,
|
||||
stories_dir=stories_dir,
|
||||
use_subdirectories=not use_flat_structure,
|
||||
)
|
||||
created_files = generator.generate_all(individuals)
|
||||
logger.info(f"Created {len(created_files)} markdown files")
|
||||
|
||||
Reference in new issue
Block a user