[htdocs,v2] index.html: Fix download and news links

Message ID 20240313122300.919703-1-mark@klomp.org
State New
Headers
Series [htdocs,v2] index.html: Fix download and news links |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Mark Wielaard March 13, 2024, 12:22 p.m. UTC
  Various download/announce/news links on the homepage (index.html) used
"../" which pointed at the wrong target. Remove those "../" so the
target resolve to existing pages.
---

v2: Keith pointed out that you should run ./index.sh index.html after
    updated to make the Last Modified date correct.

index.html | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
  

Comments

Tom Tromey March 14, 2024, 2:49 p.m. UTC | #1
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> Various download/announce/news links on the homepage (index.html) used
Mark> "../" which pointed at the wrong target. Remove those "../" so the
Mark> target resolve to existing pages.
Mark> ---

Mark> v2: Keith pointed out that you should run ./index.sh index.html after
Mark>     updated to make the Last Modified date correct.

Looks good to me.  Please check it in.

Tom
  

Patch

diff --git a/index.html b/index.html
index e868fa45290a..c8ebd743ea83 100644
--- a/index.html
+++ b/index.html
@@ -90,10 +90,10 @@  GDB supports the following languages (in alphabetical order):
 
 <h3>GDB version 14.2</h3>
 
-Version <a href="../download/ANNOUNCEMENT">14.2</a> of GDB, the GNU
+Version <a href="download/ANNOUNCEMENT">14.2</a> of GDB, the GNU
 Debugger, is now available for <a
-href="../download/">download</a>.  See the <a
-href="../download/ANNOUNCEMENT">ANNOUNCEMENT</a> for details
+href="download/">download</a>.  See the <a
+href="download/ANNOUNCEMENT">ANNOUNCEMENT</a> for details
 including changes in this release.<p>
 
 An errata list (<a
@@ -121,7 +121,7 @@  better.
 <dt>March 3rd, 2024: <b>GDB 14.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 14.2, is available for <a
-href="../download/">download</a>.
+href="download/">download</a>.
 <p>
 This is a minor corrective release over GDB 14.1, fixing the following
 issues:
@@ -140,7 +140,7 @@  See the <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob
 <dt>December 3rd, 2023: <b>GDB 14.1 Released!</b></dt>
 <dd>
 <br> The latest version of GDB, version 14.1, is available for <a
-href="../download/">download</a>.
+href="download/">download</a>.
 <br>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -275,7 +275,7 @@  Late breaking information, such as recently added features, can be
 found in the <a
 href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gdb/NEWS;hb=HEAD"
 >NEWS</a> file in the gdb source tree.  Old announcements are in the
-news <a href="../news">archive</a>.
+news <a href="news">archive</a>.
 
 <!-- /body, update below using index.sh -->
 
@@ -318,7 +318,7 @@  Floor, Boston, MA 02110-1301 USA.</p>
 <p>Verbatim copying and distribution of this entire article is
 permitted in any medium, provided this notice is preserved.</p>
 
-<p>Last modified 2024-03-03.</p>
+<p>Last modified 2024-03-13.</p>
 </address>
 
 </body>