Skip to content
Snippets Groups Projects

Fixing image rotation publish errors

Merged Jaromír Hradil requested to merge img_rot_gen_fix into master
All threads resolved!
3 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -35,7 +35,7 @@ def generate_news(image_update_dates):
@@ -35,7 +35,7 @@ def generate_news(image_update_dates):
update_date = datetime.datetime.strftime(update_date, "%Y-%m-%d")
update_date = datetime.datetime.strftime(update_date, "%Y-%m-%d")
new_entry = [
new_entry = [
f"**{update_date}** Image rotation update, details [here](https://docs.cloud.muni.cz/"
f"**{update_date}** Image rotation update, details [here](https://docs.cloud.muni.cz/"
f"cloud/image-rotation/image-rotation-update-from-{update_date})",
f"cloud/image-rotation/#image-rotation-update-from-{update_date})",
]
]
news_content = (
news_content = (
news_content[:line_idx] + new_entry + [""] + news_content[line_idx:]
news_content[:line_idx] + new_entry + [""] + news_content[line_idx:]
Loading