16 lines
380 B
Python
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() |