[htdocs] current: use <code> for file paths

Message ID 20231212232244.24437-1-vapier@gentoo.org
State New
Headers
Series [htdocs] current: use <code> for file paths |

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

Mike Frysinger Dec. 12, 2023, 11:22 p.m. UTC
  Not sure if we do this elsewhere, but rendering file paths in monospace
text is fairly common in practice (e.g. GNU manuals).  There doesn't
seem to be other usage in this repo, nor GNU guidance in general (as
that only exists for texi sources), so just use <code>.
---
 current/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tom Tromey Dec. 15, 2023, 3:53 p.m. UTC | #1
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> Not sure if we do this elsewhere, but rendering file paths in monospace
Mike> text is fairly common in practice (e.g. GNU manuals).  There doesn't
Mike> seem to be other usage in this repo, nor GNU guidance in general (as
Mike> that only exists for texi sources), so just use <code>.

Looks good, thank you for all these web site patches.

Tom
  

Patch

diff --git a/current/index.html b/current/index.html
index db78d46f9075..4467b87bf4a0 100644
--- a/current/index.html
+++ b/current/index.html
@@ -76,7 +76,7 @@  git clone https://sourceware.org/git/binutils-gdb.git
 
 If you already have a read-only copy of git on hand then there is no
 need to re-check out a source tree.  Instead, you can edit your
-.git/config to change the remote to use the read-write URL.
+<code>.git/config</code> to change the remote to use the read-write URL.
 
 For example, you might have: