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:
AlexKucera committed 2025-11-02 17:29:49 +01:00
1 parent 759b966598
commit b335a137d3
5 files changed
+26 -13

No files matched your search

+1
View File
@@ -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")