From b89473701a70ea10cfb270bdd1c6932350b365f1 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Sat, 17 Feb 2024 12:15:41 +0000 Subject: [PATCH] chore: create flatten link paths script --- scripts/{rename-links.py => flatten_md_link_paths.py} | 2 ++ 1 file changed, 2 insertions(+) rename scripts/{rename-links.py => flatten_md_link_paths.py} (93%) diff --git a/scripts/rename-links.py b/scripts/flatten_md_link_paths.py similarity index 93% rename from scripts/rename-links.py rename to scripts/flatten_md_link_paths.py index 01eaaed..e121e48 100644 --- a/scripts/rename-links.py +++ b/scripts/flatten_md_link_paths.py @@ -1,3 +1,5 @@ +# Flatten markdown links such that depth is reduced to /link.md + import os import re