Files
DocGen/example_use.py
2026-07-25 07:32:23 +01:00

16 lines
380 B
Python

import yaml
import os
from docgen import DocGen
input_file_path = os.path.join('examples', 'example_docgen_product.yaml')
output_file_path = os.path.join('examples', 'example_docgen_output.md')
with open(input_file_path) as f:
file = yaml.safe_load(f)
with open(output_file_path,'w') as md:
md.write(DocGen(file).wiki_on_a_page())
# DocGen(file).release_notes_idea()