From 57296f8e33732f62edc35bcd219eaa3e5202524b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Apr 2017 23:46:46 +0100 Subject: website and publish.sh: do not link to index files, link to directories. --- docs/hardware/index.md | 2 +- docs/hardware/r400.md | 2 +- docs/hardware/t400.md | 2 +- docs/hardware/t500.md | 2 +- docs/hardware/x200.md | 2 +- www/publish.sh | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/hardware/index.md b/docs/hardware/index.md index 9e2af808..d1f0ef54 100644 --- a/docs/hardware/index.md +++ b/docs/hardware/index.md @@ -70,7 +70,7 @@ libreboot, so we don't actually provide that, but if you still have Lenovo BIOS then you can just run the Lenovo BIOS update utility, which will update both the BIOS and EC version. See: -- [../install/index.md#flashrom](../install/index.md#flashrom) +- [../install/#flashrom](../install/#flashrom) - NOTE: this can only be done when you are using Lenovo BIOS. How to diff --git a/docs/hardware/r400.md b/docs/hardware/r400.md index f9c2d152..c180e0f7 100644 --- a/docs/hardware/r400.md +++ b/docs/hardware/r400.md @@ -28,7 +28,7 @@ libreboot, so we don't actually provide that, but if you still have Lenovo BIOS then you can just run the Lenovo BIOS update utility, which will update both the BIOS and EC version. See: -- [../install/index.md#flashrom](../install/index.md#flashrom) +- [../install/#flashrom](../install/#flashrom) - NOTE: this can only be done when you are using Lenovo BIOS. How to diff --git a/docs/hardware/t400.md b/docs/hardware/t400.md index c80b202a..33104297 100644 --- a/docs/hardware/t400.md +++ b/docs/hardware/t400.md @@ -28,7 +28,7 @@ libreboot, so we don't actually provide that, but if you still have Lenovo BIOS then you can just run the Lenovo BIOS update utility, which will update both the BIOS and EC version. See: -- [../install/index.md#flashrom](../install/index.md#flashrom) +- [../install/#flashrom](../install/#flashrom) - NOTE: this can only be done when you are using Lenovo BIOS. How to diff --git a/docs/hardware/t500.md b/docs/hardware/t500.md index ebd540a2..77c72dd2 100644 --- a/docs/hardware/t500.md +++ b/docs/hardware/t500.md @@ -28,7 +28,7 @@ libreboot, so we don't actually provide that, but if you still have Lenovo BIOS then you can just run the Lenovo BIOS update utility, which will update both the BIOS and EC version. See: -- [../install/index.md#flashrom](../install/index.md#flashrom) +- [../install/#flashrom](../install/#flashrom) - NOTE: this can only be done when you are using Lenovo BIOS. How to diff --git a/docs/hardware/x200.md b/docs/hardware/x200.md index 9d130d88..355ae1d5 100644 --- a/docs/hardware/x200.md +++ b/docs/hardware/x200.md @@ -31,7 +31,7 @@ libreboot, so we don't actually provide that, but if you still have Lenovo BIOS then you can just run the Lenovo BIOS update utility, which will update both the BIOS and EC version. See: -- [../install/index.md#flashrom](../install/index.md#flashrom) +- [../install/#flashrom](../install/#flashrom) - NOTE: this can only be done when you are using Lenovo BIOS. How to diff --git a/www/publish.sh b/www/publish.sh index 90d52288..e79c5adf 100755 --- a/www/publish.sh +++ b/www/publish.sh @@ -27,9 +27,9 @@ cat $1 > temp.md if [ "${FILE}" != "./index" ]; then if [[ $FILE == *index ]] then - DEST=".." + DEST="../" else - DEST="index.html" + DEST="./" fi RETURN="Back to previous index" -- cgit v1.2.3-70-g09d2