File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,6 +77,6 @@ Use this ID in your scripts when exporting the document.
7777
7878## Run Automation
79791 . Activate virtual environment: ` source venv/bin/activate `
80- 2 . Run the script: ` python export_blog .py <DOC_ID> `
80+ 2 . Run the script: ` python doc_to_html_conversion .py <DOC_ID> `
8181
8282
Original file line number Diff line number Diff line change 1616date: [DATE]
1717author_name: [AUTHOR]
1818author_role: [AUTHOR ROLE]
19- blurb_img : [IMG PATH]
20- blurb_img_source : [IMG SOURCE (optional)]
19+ image : [IMG PATH]
20+ image_source : [IMG SOURCE (optional)]
2121description: [BLOG DESCRIPTION]
2222category: [CATEGORY]
2323---
@@ -40,7 +40,7 @@ def _today_date_str():
4040
4141def _create_blog_filename_with_date (doc_name , date_str ):
4242 formatted_blog_title = doc_name .lower ().replace (' ' , '-' ).strip ()
43- filename = f"{ date_str } -{ formatted_blog_title } .html "
43+ filename = f"{ date_str } -{ formatted_blog_title } "
4444 return filename
4545
4646def export_blog_as_html (document_id , date = None ):
You can’t perform that action at this time.
0 commit comments