diff options
author | Thomas Lange <lange@debian.org> | 2023-10-15 15:07:50 +0200 |
---|---|---|
committer | Thomas Lange <lange@debian.org> | 2023-10-15 15:07:50 +0200 |
commit | b2595631761ec70fe18145ffa27080c0d5a5dd69 (patch) | |
tree | 09004bd577fba92b72fb6b999d2769d1a885d4e6 /english/devel | |
parent | d3f8e5a80e17ede3b0af302c395ff45c59cdd4a5 (diff) |
add info how to use variables, Closes: #757943
Diffstat (limited to 'english/devel')
-rw-r--r-- | english/devel/website/htmlediting.wml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/english/devel/website/htmlediting.wml b/english/devel/website/htmlediting.wml index 558787af8bf..fccf447fc3d 100644 --- a/english/devel/website/htmlediting.wml +++ b/english/devel/website/htmlediting.wml @@ -135,6 +135,13 @@ time. The <code>alt</code> attribute should contain something that tells users b with lynx and blind people what is in the image. </p> +<toc-add-entry name="links">Links</toc-add-entry> +<p> +If you intend to link to a page within <code>https://www.debian.org</code> in the +documentation, please use variables defined in the <code>.wmlrc</code> file for each language. For e.g. the URL in the tag <br /> +<code><a href="https://www.debian.org/devel/website/htmlediting">htmlediting</a></code><br /> +should be replaced using the variable <tt>DEVEL</tt> like this <code><a href="$(DEVEL)/website/htmlediting">htmlediting</a></code>. +</p> # <toc-add-entry name=""></toc-add-entry> |