aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorMikael Morin <mikael@gcc.gnu.org>2024-09-25 21:23:00 +0200
committerMikael Morin <mikael@gcc.gnu.org>2024-09-25 21:23:00 +0200
commit0b953ce8e2e975c419e3c92917ab02b6b9b05737 (patch)
tree965b012ec671e133ab78f7e62a364bfe24de5b14 /gcc/go
parentcc40795d8956d78e719a6acc83d5abad7032a6c3 (diff)
downloadgcc-0b953ce8e2e975c419e3c92917ab02b6b9b05737.zip
gcc-0b953ce8e2e975c419e3c92917ab02b6b9b05737.tar.gz
gcc-0b953ce8e2e975c419e3c92917ab02b6b9b05737.tar.bz2
doc: Remove @code wrapping of fortran option names [PR116801]
The documentation of gfortran options uses @code wrappings for arguments to @opindex. This is superfluous, as 'op' index is a texinfo 'code' index, that is it already implicitly formats its arguments as if in a @code block. The superfluous wrapping has the effect of creating a nested <code class="..."> tag inside the regular automatic <code> tag, in the option index HTML page, preventing the recognition of the corresponding option by the option URL generation script. This change removes those superfluous @code wrappings. Additionally, variables appearing as separate argument in index are removed, permitting a few more URL recognition. Finally, the URL files are regenerated with the new URLs recognized on the updated HTML files. By the way, a spurious 'option' is removed from the label of the std= option in the index, without any effect on URL recognition. PR other/116801 gcc/fortran/ChangeLog: * invoke.texi: Remove @code wrapping in arguments to @opindex. (std=): Remove spurious 'option' in index. (idirafter, imultilib, iprefix, isysroot, iquote, isystem, fintrinsic-modules-path): Remove variable from index. * lang.opt.urls: Regenerate. gcc/ada/ChangeLog: * gcc-interface/lang.opt.urls: Regenerate. gcc/c-family/ChangeLog: * c.opt.urls: Regenerate. gcc/ChangeLog: * common.opt.urls: Regenerate. gcc/d/ChangeLog: * lang.opt.urls: Regenerate. gcc/go/ChangeLog: * lang.opt.urls: Regenerate. gcc/m2/ChangeLog: * lang.opt.urls: Regenerate. gcc/rust/ChangeLog: * lang.opt.urls: Regenerate.
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/lang.opt.urls2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/lang.opt.urls b/gcc/go/lang.opt.urls
index 34d3154..051f706 100644
--- a/gcc/go/lang.opt.urls
+++ b/gcc/go/lang.opt.urls
@@ -10,7 +10,7 @@ UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Opti
; duplicate: 'gcc/Standard-Libraries.html#index-Wall-1'
; duplicate: 'gcc/Warning-Options.html#index-Wall'
Wall
-LangUrlSuffix_D(gdc/Warnings.html#index-Wall)
+LangUrlSuffix_D(gdc/Warnings.html#index-Wall) LangUrlSuffix_Fortran(gfortran/Error-and-Warning-Options.html#index-Wall)
o
UrlSuffix(gcc/Overall-Options.html#index-o)