From ffe15295d9e53e73c05ec7166af0326896b359dd Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 29 Mar 2020 22:18:12 +0200 Subject: [PATCH] Fix dead links --- app_nextcloud_calendar.md | 1 + app_nextcloud_carnet.md | 1 + app_nextcloud_contact.md | 1 + certificate_custom.md | 1 + isp_free.md | 1 + isp_orange.md | 1 + isp_sfr.md | 1 + packaging_apps_hooks.md | 1 + packaging_apps_trap.md | 1 + packaging_apps_virtualbox.md | 1 + tests/uniformize_links.sh | 4 +++- 11 files changed, 13 insertions(+), 1 deletion(-) create mode 120000 app_nextcloud_calendar.md create mode 120000 app_nextcloud_carnet.md create mode 120000 app_nextcloud_contact.md create mode 100644 certificate_custom.md create mode 100644 isp_free.md create mode 100644 isp_orange.md create mode 100644 isp_sfr.md create mode 100644 packaging_apps_hooks.md create mode 100644 packaging_apps_trap.md create mode 100644 packaging_apps_virtualbox.md diff --git a/app_nextcloud_calendar.md b/app_nextcloud_calendar.md new file mode 120000 index 00000000..7800f978 --- /dev/null +++ b/app_nextcloud_calendar.md @@ -0,0 +1 @@ +default.md \ No newline at end of file diff --git a/app_nextcloud_carnet.md b/app_nextcloud_carnet.md new file mode 120000 index 00000000..7800f978 --- /dev/null +++ b/app_nextcloud_carnet.md @@ -0,0 +1 @@ +default.md \ No newline at end of file diff --git a/app_nextcloud_contact.md b/app_nextcloud_contact.md new file mode 120000 index 00000000..7800f978 --- /dev/null +++ b/app_nextcloud_contact.md @@ -0,0 +1 @@ +default.md \ No newline at end of file diff --git a/certificate_custom.md b/certificate_custom.md new file mode 100644 index 00000000..29b129cb --- /dev/null +++ b/certificate_custom.md @@ -0,0 +1 @@ +Unfortunately, this page only exists [in french here](certificate_custom_fr) for now. diff --git a/isp_free.md b/isp_free.md new file mode 100644 index 00000000..e97c35fb --- /dev/null +++ b/isp_free.md @@ -0,0 +1 @@ +Unfortunately, this page only exists [in french here](isp_free_fr) for now. diff --git a/isp_orange.md b/isp_orange.md new file mode 100644 index 00000000..c89a3e28 --- /dev/null +++ b/isp_orange.md @@ -0,0 +1 @@ +Unfortunately, this page only exists [in french here](isp_orange_fr) for now. diff --git a/isp_sfr.md b/isp_sfr.md new file mode 100644 index 00000000..e5002600 --- /dev/null +++ b/isp_sfr.md @@ -0,0 +1 @@ +Unfortunately, this page only exists [in french here](isp_sfr_fr) for now. diff --git a/packaging_apps_hooks.md b/packaging_apps_hooks.md new file mode 100644 index 00000000..748cc17d --- /dev/null +++ b/packaging_apps_hooks.md @@ -0,0 +1 @@ +Unfortunately, this page only exists [in french here](packaging_apps_hooks_fr) for now. diff --git a/packaging_apps_trap.md b/packaging_apps_trap.md new file mode 100644 index 00000000..e129d61c --- /dev/null +++ b/packaging_apps_trap.md @@ -0,0 +1 @@ +Unfortunately, this page only exists [in french here](packaging_apps_trap_fr) for now. diff --git a/packaging_apps_virtualbox.md b/packaging_apps_virtualbox.md new file mode 100644 index 00000000..c47bbfae --- /dev/null +++ b/packaging_apps_virtualbox.md @@ -0,0 +1 @@ +Unfortunately, this page only exists [in french here](packaging_apps_virtualbox_fr) for now. diff --git a/tests/uniformize_links.sh b/tests/uniformize_links.sh index 4a4e76be..9a5ab061 100644 --- a/tests/uniformize_links.sh +++ b/tests/uniformize_links.sh @@ -1,5 +1,7 @@ for FILE in $(ls *.md); -do +do + grep -q "Unfortunately, this page only exists" $FILE && continue + # Replace markdown links with full url ... we only need the relative url sed -i -E 's@\(https://yunohost.org/#/(\w+)\)@(/\1)@g' $FILE