From 98b01feeb055f6cc6d56f2765dfc618f40741a08 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Sat, 9 Nov 2019 17:50:56 +0000 Subject: [PATCH] Fix links to NU3 ZIPs from index. (The .rst suffix was getting deleted for all links rather than just relative links as intended.) Signed-off-by: Daira Hopwood --- Makefile | 4 ++-- index.html | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index acfd0c99..5749d86c 100644 --- a/Makefile +++ b/Makefile @@ -11,13 +11,13 @@ index.html: README.rst $(eval TITLE::=$(shell echo '$(basename $<)' | sed -r 's|zip-0{0,3}|ZIP |'): $(shell grep -E '^(\.\.)?\s*Title:' $< |sed 's|.*Title:\s*||')) rst2html5 -v --title="$(TITLE)" $< >$@ sed -i 's|||' $@ - sed -i 's|||' $@ + sed -i 's|||' $@ %.html: %.rst $(eval TITLE::=$(shell echo '$(basename $<)' | sed -r 's|zip-0{0,3}|ZIP |'): $(shell grep -E '^(\.\.)?\s*Title:' $< |sed 's|.*Title:\s*||')) rst2html5 -v --title="$(TITLE)" $< >$@ sed -i 's|||' $@ - sed -i 's|||' $@ + sed -i 's|||' $@ README.rst: makeindex.sh README.template ./makeindex.sh | cat README.template - >README.rst diff --git a/index.html b/index.html index 73a544fd..d0b0a95a 100644 --- a/index.html +++ b/index.html @@ -14,14 +14,14 @@

NU3 ZIPs for consideration

This is the list of ZIPs that were under consideration for the NU3 upgrade (around ~April 2020).